Class: Anchor::Types::Walk
- Inherits:
-
Object
- Object
- Anchor::Types::Walk
- Defined in:
- lib/anchor/walk.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type) ⇒ Walk
constructor
A new instance of Walk.
Constructor Details
#initialize(type) ⇒ Walk
Returns a new instance of Walk.
6 7 8 |
# File 'lib/anchor/walk.rb', line 6 def initialize(type) @type = type end |
Class Method Details
.call ⇒ Object
4 |
# File 'lib/anchor/walk.rb', line 4 def self.call(...) = new(...).call |