# File lib/rails-installer/commands.rb, line 64 def self.inherited(sub) name = sub.to_s.gsub(/^.*::/,'').gsub(/([A-Z])/) do |match| "_#{match.downcase}" end.gsub(/^_/,'') @@command_map[name] = sub end