Class: Crokus::Casting
Instance Attribute Summary collapse
-
#modifier ⇒ Object
Returns the value of attribute modifier.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(type, modifier) ⇒ Casting
constructor
A new instance of Casting.
Methods inherited from Ast
Constructor Details
#initialize(type, modifier) ⇒ Casting
Returns a new instance of Casting.
100 101 102 |
# File 'lib/crokus/ast.rb', line 100 def initialize type,modifier @type,@modifier=type,modifier end |
Instance Attribute Details
#modifier ⇒ Object
Returns the value of attribute modifier.
99 100 101 |
# File 'lib/crokus/ast.rb', line 99 def modifier @modifier end |
#type ⇒ Object
Returns the value of attribute type.
99 100 101 |
# File 'lib/crokus/ast.rb', line 99 def type @type end |