Sha256: 5a7c49624ad01d0739f06958c7d5517d56790c8f7a2ce682bf451c4b2d180768
Contents?: true
Size: 484 Bytes
Versions: 16
Compression:
Stored size: 484 Bytes
Contents
module Rails def self.root File.join(Dir.pwd, 'tmp') end def self.env @@environment ||= 'development' end def self.env=(env) @@environment = env end def self.application @@application ||= begin railties = Struct.new(:engines).new([]) Struct.new(:paths, :railties).new(Hash.new([]), railties) end end end ActiveSupport::Inflector.inflections do |inflect| inflect.plural /^beta$/i, 'betas' inflect.singular /^betas$/i, 'beta' end
Version data entries
16 entries across 16 versions & 2 rubygems