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.
114 115 116 |
# File 'lib/crokus/ast.rb', line 114 def initialize t @type=t end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
113 114 115 |
# File 'lib/crokus/ast.rb', line 113 def type @type end |