class OpenCollection
OpenCollection¶ ↑
Mapping OpenObject.
Public Class Methods
new(*hash)
click to toggle source
# File lib/more/facets/opencollection.rb, line 30 def initialize(*hash) @opens = hash.map do |h| OpenObject.new(h) end end
Public Instance Methods
method_missing(sym)
click to toggle source
# File lib/more/facets/opencollection.rb, line 36 def method_missing(sym) @opens.map do |o| o.send(sym) end end