Sha256: 45f1cda4e19e231fbc5145f675985a99f2ddbd6ef403a2f3b51917fda9f62ecc

Contents?: true

Size: 279 Bytes

Versions: 10

Compression:

Stored size: 279 Bytes

Contents

class BaristaInstallGenerator < Rails::Generators::Base
  
  def self.source_root
    @_ps_source_root ||= File.expand_path("templates", File.dirname(__FILE__))
  end
  
  def create_initializer
    copy_file 'initializer.rb', 'config/initializers/barista_config.rb'
  end
  
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
barista-0.5.1 lib/generators/barista_install/barista_install_generator.rb
barista-0.5.0 lib/generators/barista_install/barista_install_generator.rb
barista-0.4.3 lib/generators/barista_install/barista_install_generator.rb
barista-0.4.2 lib/generators/barista_install/barista_install_generator.rb
barista-0.4.1 lib/generators/barista_install/barista_install_generator.rb
barista-0.4.0 lib/generators/barista_install/barista_install_generator.rb
barista-0.3.0 lib/generators/barista_install/barista_install_generator.rb
barista-0.2.1 lib/generators/barista_install/barista_install_generator.rb
barista-0.2.0 lib/generators/barista_install/barista_install_generator.rb
barista-0.1.5 lib/generators/barista_install/barista_install_generator.rb