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.
96 97 98 |
# File 'lib/crokus/ast.rb', line 96 def initialize type,modifier @type,@modifier=type,modifier end |
Instance Attribute Details
#modifier ⇒ Object
Returns the value of attribute modifier.
95 96 97 |
# File 'lib/crokus/ast.rb', line 95 def modifier @modifier end |
#type ⇒ Object
Returns the value of attribute type.
95 96 97 |
# File 'lib/crokus/ast.rb', line 95 def type @type end |