Permalink
Browse files

Fix -v/--version option in Ruby 1.8.7

  • Loading branch information...
1 parent de0c09b commit d7c0180abbd1746e520c8fd10e3e3ac7d8729b06 @eparreno eparreno committed Aug 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/apiary/command/runner.rb
@@ -5,7 +5,7 @@ module Command
class Runner
def self.run(cmd, options)
- Apiary::Command.const_get(cmd.capitalize).send(:execute, options)
+ Apiary::Command.const_get(cmd.to_s.capitalize).send(:execute, options)
end
end

0 comments on commit d7c0180

Please sign in to comment.