Class: ScaleRb::OldRegistry::TypeExp::TupleType
- Inherits:
-
Object
- Object
- ScaleRb::OldRegistry::TypeExp::TupleType
- Defined in:
- lib/scale_rb/old_registry.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ TupleType
constructor
A new instance of TupleType.
- #to_s ⇒ Object
Constructor Details
#initialize(params) ⇒ TupleType
Returns a new instance of TupleType.
348 349 350 |
# File 'lib/scale_rb/old_registry.rb', line 348 def initialize(params) @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
346 347 348 |
# File 'lib/scale_rb/old_registry.rb', line 346 def params @params end |
Instance Method Details
#to_s ⇒ Object
352 353 354 |
# File 'lib/scale_rb/old_registry.rb', line 352 def to_s "(#{params.map(&:to_s).join(', ')})" end |