Method: Mothership::TypeMismatch#initialize

Defined in:
lib/mothership/errors.rb

#initialize(cmd, input, type) ⇒ TypeMismatch

Returns a new instance of TypeMismatch.



28
29
30
31
32
# File 'lib/mothership/errors.rb', line 28

def initialize(cmd, input, type)
  @command = cmd
  @input = input
  @type = type
end