Sha256: b01eea905efdb7912e644ac3aa875c4c54efb0fddf372ea57f5f98b8f58de050

Contents?: true

Size: 406 Bytes

Versions: 92

Compression:

Stored size: 406 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

92 entries across 92 versions & 1 rubygems

Version Path
active_frontend-12.4.32 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.31 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.30 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.29 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.28 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.27 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.26 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.25 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.24 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.23 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.22 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.21 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.20 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.19 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.18 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.17 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.16 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.15 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.14 lib/generators/active_frontend/install_generator.rb
active_frontend-12.4.13 lib/generators/active_frontend/install_generator.rb