# encoding: utf-8
module Apiary
  module Command
    # Run commands
    class Runner

      def self.run(cmd, options)
        Apiary::Command.const_get(cmd.capitalize).send(:execute, options)
      end

    end
  end
end

# encoding: utf-8
module Apiary
  module Command
    # Run commands
    class Runner

      def self.run(cmd, options)
        Apiary::Command.const_get(cmd.to_s.capitalize).send(:execute, options)
      end

    end
  end
end

Fix -v/--version option in Ruby 1.8.7
Fix -v/--version option in Ruby 1.8.7
