Class: Capistrano::Configuration::Server::Properties

Inherits:
Object
  • Object
show all
Defined in:
lib/california/stage.rb

Instance Method Summary collapse

Instance Method Details

#fetch(key) ⇒ Object

Making the properties indifferent to symbol/string keys.



94
95
96
# File 'lib/california/stage.rb', line 94

def fetch(key)
  @properties[key] || @properties[key.to_s]
end