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.8 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.7 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.6 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.5 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.4 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.3 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.2 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.1 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.0 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.99 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.98 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.97 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.96 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.95 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.94 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.93 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.92 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.91 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.90 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.89 lib/generators/active_frontend/install_generator.rb