Class: CapistranoDeploy::Multistage::Stage

Inherits:
Object
  • Object
show all
Defined in:
lib/capistrano-deploy/multistage.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, options = {}) ⇒ Stage

Returns a new instance of Stage.



71
72
73
74
# File 'lib/capistrano-deploy/multistage.rb', line 71

def initialize(name, options={})
  @name    = name
  @options = options
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



68
69
70
# File 'lib/capistrano-deploy/multistage.rb', line 68

def name
  @name
end

#optionsObject (readonly)

Returns the value of attribute options.



69
70
71
# File 'lib/capistrano-deploy/multistage.rb', line 69

def options
  @options
end