Class: Bogus::UndefinedReturnValue
- Inherits:
-
Object
- Object
- Bogus::UndefinedReturnValue
- Defined in:
- lib/bogus/undefined_return_value.rb
Instance Method Summary collapse
-
#initialize(interaction) ⇒ UndefinedReturnValue
constructor
A new instance of UndefinedReturnValue.
- #to_s ⇒ Object
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_s ⇒ Object
7 8 9 |
# File 'lib/bogus/undefined_return_value.rb', line 7 def to_s "#<UndefinedReturnValue for #{@interaction}>" end |