Class: Granite::Action::Types::Collection
- Inherits:
-
Object
- Object
- Granite::Action::Types::Collection
- Defined in:
- lib/granite/action/types/collection.rb
Instance Attribute Summary collapse
-
#subtype ⇒ Object
readonly
Returns the value of attribute subtype.
Instance Method Summary collapse
-
#initialize(subtype) ⇒ Collection
constructor
A new instance of Collection.
Constructor Details
#initialize(subtype) ⇒ Collection
Returns a new instance of Collection.
7 8 9 |
# File 'lib/granite/action/types/collection.rb', line 7 def initialize(subtype) @subtype = subtype end |
Instance Attribute Details
#subtype ⇒ Object (readonly)
Returns the value of attribute subtype.
5 6 7 |
# File 'lib/granite/action/types/collection.rb', line 5 def subtype @subtype end |