class Yamlook::Iteration
Holds information for iteration over Psych::Handler iterating through mappings
Attributes
active[RW]
offset[RW]
Public Class Methods
new(active: false, offset: 0)
click to toggle source
# File lib/yamlook/iteration.rb, line 8 def initialize(active: false, offset: 0) @active = active @offset = offset end
Public Instance Methods
reset!()
click to toggle source
# File lib/yamlook/iteration.rb, line 13 def reset! @active = false @offset = 0 end