Method: BOAST::For#close
- Defined in:
- lib/BOAST/Language/For.rb
#close ⇒ self
Closes the For construct (keyword, closing bracket in C like languages). The result is printed to the BOAST output.
188 189 190 191 192 193 194 195 196 |
# File 'lib/BOAST/Language/For.rb', line 188 def close decrement_indent_level s = "" s << indent s << end_string output.puts s @openmp.close if @openmp return self end |