Class: HerokuRails::HerokuTargets::LocalProxy

Inherits:
HerokuTarget
  • Object
show all
Defined in:
lib/heroku_rails/heroku_targets.rb

Instance Attribute Summary

Attributes inherited from HerokuTarget

#name

Instance Method Summary collapse

Methods inherited from HerokuTarget

#database_url, #db_color, #deploy_ref, #display_name, #dump_filename, #git_remote, #heroku_app, #repository, #required_value, #staging?, #to_s, #trackable_release_stage

Constructor Details

#initialize(defaults) ⇒ LocalProxy

Returns a new instance of LocalProxy.



112
113
114
# File 'lib/heroku_rails/heroku_targets.rb', line 112

def initialize(defaults)
  super(defaults.merge(staging: true, heroku_app: "local"), "local")
end

Instance Method Details

#local?Boolean

Returns:

  • (Boolean)


116
117
118
# File 'lib/heroku_rails/heroku_targets.rb', line 116

def local?
  true
end