class Object

Constants

ALIAS
IRB
RAILS_COMMANDS
WAGN_COMMANDS
WAGN_DB_COMMANDS

Public Instance Methods

load_rake_tasks() click to toggle source
# File lib/wagn/commands.rb, line 4
def load_rake_tasks
  require "./config/environment"
  require "rake"
  Wagn::Application.load_tasks
end
supported_rails_command?(arg) click to toggle source
# File lib/wagn/commands.rb, line 27
def supported_rails_command? arg
  arg.in?(RAILS_COMMANDS) || ALIAS[arg].in?(RAILS_COMMANDS)
end