Class: RbFind::Walk
- Inherits:
-
Object
- Object
- RbFind::Walk
- Defined in:
- lib/rbfind.rb
Defined Under Namespace
Classes: Params
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#current ⇒ Object
readonly
Returns the value of attribute current.
-
#depth ⇒ Object
readonly
Returns the value of attribute depth.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
309 310 311 |
# File 'lib/rbfind.rb', line 309 def count @count end |
#current ⇒ Object (readonly)
Returns the value of attribute current.
311 312 313 |
# File 'lib/rbfind.rb', line 311 def current @current end |
#depth ⇒ Object (readonly)
Returns the value of attribute depth.
310 311 312 |
# File 'lib/rbfind.rb', line 310 def depth @depth end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
309 310 311 |
# File 'lib/rbfind.rb', line 309 def start @start end |
Class Method Details
.run(*args, **params, &block) ⇒ Object
264 265 266 267 268 |
# File 'lib/rbfind.rb', line 264 def run *args, **params, &block i = new **params, &block i.run *args i.count end |