Class: Tramway::Core::ApplicationDecoratedCollection
- Inherits:
-
Array
- Object
- Array
- Tramway::Core::ApplicationDecoratedCollection
- Defined in:
- app/decorators/tramway/core/application_decorated_collection.rb
Instance Attribute Summary collapse
-
#original_array ⇒ Object
readonly
Returns the value of attribute original_array.
Instance Method Summary collapse
-
#initialize(array, original_array) ⇒ ApplicationDecoratedCollection
constructor
A new instance of ApplicationDecoratedCollection.
Constructor Details
#initialize(array, original_array) ⇒ ApplicationDecoratedCollection
Returns a new instance of ApplicationDecoratedCollection.
4 5 6 7 |
# File 'app/decorators/tramway/core/application_decorated_collection.rb', line 4 def initialize(array, original_array) @original_array = original_array super(array) end |
Instance Attribute Details
#original_array ⇒ Object (readonly)
Returns the value of attribute original_array.
9 10 11 |
# File 'app/decorators/tramway/core/application_decorated_collection.rb', line 9 def original_array @original_array end |