Class: Rubicante::TypeGroup
- Inherits:
-
Object
- Object
- Rubicante::TypeGroup
- Includes:
- Singleton
- Defined in:
- lib/rubicante/type_group.rb
Instance Attribute Summary collapse
-
#types ⇒ Object
Returns the value of attribute types.
Instance Method Summary collapse
- #[](type_name) ⇒ Object
-
#initialize ⇒ TypeGroup
constructor
A new instance of TypeGroup.
Constructor Details
#initialize ⇒ TypeGroup
Returns a new instance of TypeGroup.
10 11 12 |
# File 'lib/rubicante/type_group.rb', line 10 def initialize @types = {} end |
Instance Attribute Details
#types ⇒ Object
Returns the value of attribute types.
8 9 10 |
# File 'lib/rubicante/type_group.rb', line 8 def types @types end |