class StringyFi::Shell
Attributes
converter[RW]
Public Class Methods
new(args=[])
click to toggle source
# File lib/stringyfi/shell.rb, line 5 def initialize(args=[]) filename = args.first || File.join(File.dirname(__FILE__), '..', '..', 'spec', 'fixtures', 'music_xml', 'chromatic.xml') self.converter = StringyFi::Converter.new(filename) end
Public Instance Methods
convert!()
click to toggle source
# File lib/stringyfi/shell.rb, line 10 def convert! converter.convert! end