diff --git a/lib/shell_mock/command_stub.rb b/lib/shell_mock/command_stub.rb
index <HASH>..<HASH> 100644
--- a/lib/shell_mock/command_stub.rb
+++ b/lib/shell_mock/command_stub.rb
@@ -3,7 +3,7 @@ require 'shell_mock/stub_registry'
 
 module ShellMock
   class CommandStub
-    attr_reader :command, :expected_output, :exitstatus, :env, :options, :side_effect, :writer
+    attr_reader :command, :expected_output, :exitstatus, :env, :options, :side_effect
 
     def initialize(command)
       @command     = command
@@ -63,7 +63,7 @@ module ShellMock
 
     private
 
-    attr_reader :reader
+    attr_reader :reader, :writer
 
     def marshaled_signatures
       messages = ""
no reason for this to be a public method