Sha256: 963730f51df5704e41fe8b3d88ec7b62482b4b51ea0c492f714689669859e05e

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

# A rails generator `vkontakte_api:install`.
# It creates a config file in `config/initializers/vkontakte_api.rb`.
class VkontakteApi::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)
  
  # Creates the config file.
  def create_initializer
    copy_file 'initializer.rb', 'config/initializers/vkontakte_api.rb'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vkontakte_api-1.4.4 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.4.3 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.4.2 lib/generators/vkontakte_api/install/install_generator.rb
vkontakte_api-1.4 lib/generators/vkontakte_api/install/install_generator.rb