joeyates/metar-parser — Issue #2: Parser generates error on initialize
Author: mortensorensen
Created: 2011-12-07 09:58:09+00:00
State: open

When following your example I get the following error after declaring parser = Metar::Parser.new(raw)

ArgumentError: wrong number of arguments (1 for 0)
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/m9t-0.2.2/lib/m9t/base.rb:129:in `block (2 levels) in define_conversion'
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/m9t-0.2.2/lib/m9t/base.rb:99:in `method_missing'
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/m9t-0.2.2/lib/m9t/base.rb:109:in `to_s'
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/metar-parser-0.9.8/lib/metar/data.rb:143:in `to_s'
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.0/lib/rails/commands/console.rb:45:in `start'
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.0/lib/rails/commands/console.rb:8:in `start'
from /Users/morten/.rvm/gems/ruby-1.9.2-head/gems/railties-3.1.0/lib/rails/commands.rb:40:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'