Sha256: 9a7edfba6110c88c50288a527d4ad944adf6ca4d3b5f0b32ee39839f52f99470

Contents?: true

Size: 392 Bytes

Versions: 2

Compression:

Stored size: 392 Bytes

Contents

require 'rails/generators'

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

    def create_files
      copy_file 'buoys.en.yml', 'config/locales/buoys.en.yml'
      copy_file '_buoys.html.erb', 'app/views/breadcrumbs/_buoys.html.erb'
      copy_file 'breadcrumbs.rb', 'config/buoys/breadcrumbs.rb'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
buoys-0.2.0 lib/generators/buoys/install_generator.rb
buoys-0.1.0 lib/generators/buoys/install_generator.rb