Class: Def
- Inherits:
-
Object
- Object
- Def
- Defined in:
- lib/runtime.rb
Direct Known Subclasses
DirectionDef, EnumElementDef, MemberDef, MessageDef, NodeDef, SequenceDef, StepDef, TypeDef, TypeInstanceDef
Instance Attribute Summary collapse
-
#ast ⇒ Object
readonly
Returns the value of attribute ast.
Instance Method Summary collapse
-
#initialize(ast) ⇒ Def
constructor
A new instance of Def.
Constructor Details
#initialize(ast) ⇒ Def
Returns a new instance of Def.
5 6 7 |
# File 'lib/runtime.rb', line 5 def initialize ast @ast = ast end |
Instance Attribute Details
#ast ⇒ Object (readonly)
Returns the value of attribute ast.
3 4 5 |
# File 'lib/runtime.rb', line 3 def ast @ast end |