Class: Crokus::DoWhile
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#cond ⇒ Object
Returns the value of attribute cond.
Instance Method Summary collapse
-
#initialize(cond, body = nil) ⇒ DoWhile
constructor
A new instance of DoWhile.
Methods inherited from Ast
Constructor Details
#initialize(cond, body = nil) ⇒ DoWhile
Returns a new instance of DoWhile.
279 280 281 |
# File 'lib/crokus/ast.rb', line 279 def initialize cond,body=nil @cond,@body=cond,body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
278 279 280 |
# File 'lib/crokus/ast.rb', line 278 def body @body end |
#cond ⇒ Object
Returns the value of attribute cond.
278 279 280 |
# File 'lib/crokus/ast.rb', line 278 def cond @cond end |