Class: Frosting::PresentedCollection

Inherits:
SimpleDelegator
  • Object
show all
Includes:
Enumerable
Defined in:
lib/frosting/repository.rb

Instance Method Summary collapse

Constructor Details

#initialize(collection, options) ⇒ PresentedCollection

Returns a new instance of PresentedCollection.



36
37
38
39
# File 'lib/frosting/repository.rb', line 36

def initialize(collection, options)
  @options = options
  super(collection)
end

Instance Method Details

#+(other) ⇒ Object



41
42
43
# File 'lib/frosting/repository.rb', line 41

def +(other)
  to_a + other.to_a
end