Class: RubyBreaker::TypeDefs::VarLengthType
- Defined in:
- lib/rubybreaker/type/type.rb
Overview
This class represents a variable-length argument type
Instance Attribute Summary collapse
-
#type ⇒ Object
This accessor sets/gets the inner type of this variable length argument type.
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(type, *args) ⇒ VarLengthType
constructor
A new instance of VarLengthType.
Methods inherited from Type
Constructor Details
#initialize(type, *args) ⇒ VarLengthType
Returns a new instance of VarLengthType.
205 206 207 208 |
# File 'lib/rubybreaker/type/type.rb', line 205 def initialize(type,*args) super(*args) @type = type end |
Instance Attribute Details
#type ⇒ Object
This accessor sets/gets the inner type of this variable length argument type.
203 204 205 |
# File 'lib/rubybreaker/type/type.rb', line 203 def type @type end |