Class: Bogus::UndefinedReturnValue

Inherits:
Object
  • Object
show all
Defined in:
lib/bogus/undefined_return_value.rb

Instance Method Summary collapse

Constructor Details

#initialize(interaction) ⇒ UndefinedReturnValue

Returns a new instance of UndefinedReturnValue.



3
4
5
# File 'lib/bogus/undefined_return_value.rb', line 3

def initialize(interaction)
  @interaction = InteractionPresenter.new(interaction)
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/bogus/undefined_return_value.rb', line 7

def to_s
  "#<UndefinedReturnValue for #{@interaction}>"
end