Sha256: a6df8f8d4fc7dbafe476f33e473e2bc5909bc348827c5098ca71b5d300da01fc

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

# encoding: UTF-8

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

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

    desc "Creates a BigQuery initializer."
    #class_option :orm

    def copy_initializer
      say_status("installing", "BigQuery", :green)
      copy_file "bigquery.rb.erb", "config/initializers/bigbroda.rb"
    end

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

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bigbroda-0.1.0.pre lib/generators/bigbroda/install/install_generator.rb