Module: Representable::Hash::Collection::ClassMethods

Defined in:
lib/representable/hash/collection.rb

Instance Method Summary collapse

Instance Method Details

#items(options) ⇒ Object



14
15
16
# File 'lib/representable/hash/collection.rb', line 14

def items(options)
  collection :_self, options.merge(:getter => lambda { |*| self })
end