Class: ScaleRb::OldRegistry::TypeExp::ArrayType
- Inherits:
-
Object
- Object
- ScaleRb::OldRegistry::TypeExp::ArrayType
- Defined in:
- lib/scale_rb/old_registry.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
readonly
Returns the value of attribute item.
-
#len ⇒ Object
readonly
Returns the value of attribute len.
Instance Method Summary collapse
-
#initialize(item, len) ⇒ ArrayType
constructor
A new instance of ArrayType.
- #to_s ⇒ Object
Constructor Details
#initialize(item, len) ⇒ ArrayType
Returns a new instance of ArrayType.
335 336 337 338 |
# File 'lib/scale_rb/old_registry.rb', line 335 def initialize(item, len) @item = item @len = len end |
Instance Attribute Details
#item ⇒ Object (readonly)
Returns the value of attribute item.
333 334 335 |
# File 'lib/scale_rb/old_registry.rb', line 333 def item @item end |
#len ⇒ Object (readonly)
Returns the value of attribute len.
333 334 335 |
# File 'lib/scale_rb/old_registry.rb', line 333 def len @len end |
Instance Method Details
#to_s ⇒ Object
340 341 342 |
# File 'lib/scale_rb/old_registry.rb', line 340 def to_s "[#{item}; #{len}]" end |