Method: CodeBlock::Block#notes_to_s
- Defined in:
- lib/codeblock.rb
#notes_to_s ⇒ Object
Builds the string that is returned by CodeBlock#notes_to_s.
492 493 494 495 496 497 498 499 500 501 502 |
# File 'lib/codeblock.rb', line 492 def notes_to_s rv = [] # loop through lines @lines.each do |line| rv.push line.notes || '' end # return return rv.join("\n") end |