Sha256: c033f891e2016b75332d0dcbc9ac34b71071b46219f102e5c46498c22b873ebc

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

require 'rails/generators'

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

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

      def copy_initializer_file
        template 'initializer.rb', 'config/initializers/sharing_tags.rb'
      end

      # todo: add javascript files to applications.js
      # todo add styles application.css

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sharing_tags-0.0.5 lib/generators/sharing_tags/install/install_generator.rb
sharing_tags-0.0.4 lib/generators/sharing_tags/install/install_generator.rb
sharing_tags-0.0.3 lib/generators/sharing_tags/install/install_generator.rb
sharing_tags-0.0.2 lib/generators/sharing_tags/install/install_generator.rb