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.0.68 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.67 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.66 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.65 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.64 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.63 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.62 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.61 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.60 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.59 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.58 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.57 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.56 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.55 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.54 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.53 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.52 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.51 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.50 lib/generators/active_frontend/install_generator.rb
active_frontend-14.0.49 lib/generators/active_frontend/install_generator.rb