Class: Crokus::Sizeof
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(t) ⇒ Sizeof
constructor
A new instance of Sizeof.
Methods inherited from Ast
Constructor Details
#initialize(t) ⇒ Sizeof
Returns a new instance of Sizeof.
110 111 112 |
# File 'lib/crokus/ast.rb', line 110 def initialize t @type=t end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
109 110 111 |
# File 'lib/crokus/ast.rb', line 109 def type @type end |