Method: BOAST::While#initialize
- Defined in:
- lib/BOAST/Language/While.rb
#initialize(condition, &block) ⇒ While
Creates a new instance of the While construct.
13 14 15 16 17 |
# File 'lib/BOAST/Language/While.rb', line 13 def initialize(condition, &block) super() @condition = condition @block = block end |