Class: Wendy::Wender
- Inherits:
-
Object
- Object
- Wendy::Wender
- Defined in:
- lib/wendy.rb
Instance Method Summary collapse
-
#initialize(initiator, arg, *others) ⇒ Wender
constructor
A new instance of Wender.
- #result ⇒ Object (also: #and_return)
- #through(method, *others) ⇒ Object (also: #and)
Constructor Details
#initialize(initiator, arg, *others) ⇒ Wender
Returns a new instance of Wender.
9 10 11 12 13 |
# File 'lib/wendy.rb', line 9 def initialize(initiator, arg, *others) @initiator = initiator @arg = arg @others = others end |
Instance Method Details
#result ⇒ Object Also known as: and_return
19 20 21 |
# File 'lib/wendy.rb', line 19 def result arg end |