Sha256: 3059274475c86b95b0a623de0f57d8c1f41352e67019d80ac79ca237d491ffbb

Contents?: true

Size: 523 Bytes

Versions: 4

Compression:

Stored size: 523 Bytes

Contents

# encoding: UTF-8

module LazyGoogleAnalytics
  class InstallGenerator < ::Rails::Generators::Base

    source_root File.expand_path("../../../templates", __FILE__)

    desc "Creates a Lazy-Google-Analytics initializer."
    #class_option :orm

    def copy_initializer
      say_status("installing", "Lazy google analytics", :green)
      copy_file "lazy_google_analytics.rb.erb", "config/initializers/lazy_google_analytics.rb"
    end

    def show_readme
      readme "README" if behavior == :invoke
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lazy_google_analytics-0.1.6 lib/generators/lazy_google_analytics/install/install_generator.rb
lazy_google_analytics-0.1.5 lib/generators/lazy_google_analytics/install/install_generator.rb
lazy_google_analytics-0.1.2 lib/generators/lazy_google_analytics/install/install_generator.rb
lazy_google_analytics-0.1.0 lib/generators/lazy_google_analytics/install/install_generator.rb