Class: TypeDef
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Def
Instance Method Summary collapse
-
#initialize(ast, name) ⇒ TypeDef
constructor
A new instance of TypeDef.
Constructor Details
#initialize(ast, name) ⇒ TypeDef
Returns a new instance of TypeDef.
14 15 16 17 |
# File 'lib/runtime.rb', line 14 def initialize ast, name super ast @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/runtime.rb', line 12 def name @name end |