Module: Enumerable
- Defined in:
- lib/mini_hiera.rb
Instance Method Summary collapse
Instance Method Details
#find_value(ifnone = nil, &block) ⇒ Object
5 6 7 8 |
# File 'lib/mini_hiera.rb', line 5 def find_value(ifnone=nil, &block) each { |*v| o = block.call(*v) and return(o) } ifnone end |