Sha256: 82566808bf2d957c81f52c4504bc0ba26920a875389e440a8cf503497e646a27

Contents?: true

Size: 438 Bytes

Versions: 97

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

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

97 entries across 97 versions & 1 rubygems

Version Path
active_frontend-16.1.1 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.0 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.24 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.23 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.22 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.21 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.20 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.19 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.18 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.17 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.16 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.15 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.14 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.13 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.12 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.11 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.10 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.9 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.8 lib/generators/active_frontend/install_generator.rb
active_frontend-16.0.7 lib/generators/active_frontend/install_generator.rb