Sha256: dddd2e2897d718c696d96e564b5c145324484608ce32d872d4d65078b2c25ba8

Contents?: true

Size: 365 Bytes

Versions: 10

Compression:

Stored size: 365 Bytes

Contents

module Homura
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_locale_file
      copy_file 'layout.en.yml', 'config/locales/layout.en.yml'
    end

    def copy_layout_file
      copy_file 'application.html.slim',
                'app/views/layouts/application.html.slim'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
homura-0.2.3 lib/generators/homura/install/install_generator.rb
homura-0.2.2 lib/generators/homura/install/install_generator.rb
homura-0.2.1 lib/generators/homura/install/install_generator.rb
homura-0.2.0 lib/generators/homura/install/install_generator.rb
homura-0.1.4 lib/generators/homura/install/install_generator.rb
homura-0.1.3 lib/generators/homura/install/install_generator.rb
homura-0.1.2 lib/generators/homura/install/install_generator.rb
homura-0.1.1 lib/generators/homura/install/install_generator.rb
homura-0.1.0 lib/generators/homura/install/install_generator.rb
homura-0.0.1 lib/generators/homura/install/install_generator.rb