Module: Stronger::Collection
- Included in:
- TypedArray, TypedHash
- Defined in:
- lib/stronger/collection.rb
Constant Summary collapse
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
6 7 8 |
# File 'lib/stronger/collection.rb', line 6 def type @type end |
Instance Method Details
#initialize(type, *rest) ⇒ Object
7 8 9 10 |
# File 'lib/stronger/collection.rb', line 7 def initialize(type, *rest) @type = type super(*rest) end |