spring_client.rb 339 B

123456789101112131415
  1. module Spring
  2. module Client
  3. class Rails < Command
  4. DEFAULT_COMMANDS = COMMANDS.dup
  5. DEFAULT_ALIASES = ALIASES.dup
  6. remove_const('COMMANDS')
  7. remove_const('ALIASES')
  8. const_set('COMMANDS', DEFAULT_COMMANDS + %w[server])
  9. const_set('ALIASES', DEFAULT_ALIASES.merge('s' => 'server'))
  10. end
  11. end
  12. end