Class: Reenrb::Actions::DoNothing
- Inherits:
-
Object
- Object
- Reenrb::Actions::DoNothing
- Defined in:
- lib/reenrb/actions/nothing.rb
Overview
Does nothing to items
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(old_name, new_name) ⇒ DoNothing
constructor
A new instance of DoNothing.
Constructor Details
#initialize(old_name, new_name) ⇒ DoNothing
Returns a new instance of DoNothing.
7 8 9 10 |
# File 'lib/reenrb/actions/nothing.rb', line 7 def initialize(old_name, new_name) @old_name = old_name @new_name = new_name end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/reenrb/actions/nothing.rb', line 12 def call nil end |