Sha256: 996008ab2964f6ec5ddfd56b1ebe6b34255cd3ecab1757c19845b1cfae0a2e22
Contents?: true
Size: 467 Bytes
Versions: 12
Compression:
Stored size: 467 Bytes
Contents
module Rails3::Assist::File module Environment def insert_before_application_init content=nil, &block insert_application_init :before, content, &block end def insert_after_application_init content=nil, &block insert_application_init :after, content, &block end def insert_application_init place, statement=nil, &block File.insert_into environment_file, statement, place => /\w+::Application.initialize!/ end end end
Version data entries
12 entries across 12 versions & 1 rubygems