class Chordproko::Sheet
Attributes
content[RW]
transpose[RW]
Public Class Methods
new(content)
click to toggle source
# File lib/chordproko/sheet.rb, line 4 def initialize content @content = content end
Public Instance Methods
each(&block)
click to toggle source
# File lib/chordproko/sheet.rb, line 7 def each(&block) @content.each(&block) end
to_s()
click to toggle source
# File lib/chordproko/sheet.rb, line 10 def to_s @content.each do |line| "#{line}" end.join("\n") end