Class: GoogleBigquery::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/google_bigquery/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject

class_option :orm



11
12
13
14
# File 'lib/generators/google_bigquery/install/install_generator.rb', line 11

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

#show_readmeObject



16
17
18
# File 'lib/generators/google_bigquery/install/install_generator.rb', line 16

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