Sha256: e3104903b17d1158207aa531edd20a45188724761f620a9e3a7a4a92f34084cc

Contents?: true

Size: 407 Bytes

Versions: 149

Compression:

Stored size: 407 Bytes

Contents

require 'rails/generators'

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

    def copy_javascript_file
      copy_file('install.js', 'vendor/assets/javascripts/active_frontend.js')
    end

    def copy_stylesheet_file
      copy_file('install.scss', 'vendor/assets/stylesheets/active_frontend.scss')
    end

  end
end

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
active_frontend-14.1.28 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.27 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.26 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.25 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.24 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.23 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.22 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.21 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.20 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.19 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.18 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.17 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.16 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.15 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.14 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.13 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.12 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.11 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.10 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.9 lib/generators/active_frontend/install_generator.rb