Parent

HoptoadGenerator

Public Class Methods

source_root() click to toggle source
# File lib/rails/generators/hoptoad/hoptoad_generator.rb, line 8
def self.source_root
  @_hoptoad_source_root ||= File.expand_path("../../../../../generators/hoptoad/templates", __FILE__)
end

Public Instance Methods

install() click to toggle source
# File lib/rails/generators/hoptoad/hoptoad_generator.rb, line 12
def install
  ensure_api_key_was_configured
  ensure_plugin_is_not_present
  append_capistrano_hook
  generate_initializer unless api_key_configured?
  determine_api_key if heroku?
  test_hoptoad
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.