Class: Capistrano::DataPlaneApi::Configuration::Server
- Defined in:
- lib/capistrano/data_plane_api/configuration/server.rb
Overview
Contains the configuration options of a server
Instance Method Summary collapse
-
#name ⇒ Object
: -> String?.
-
#stage ⇒ Object
: -> String?.
Methods inherited from Type
Methods included from Equatable
Methods included from Diggable
Instance Method Details
#name ⇒ Object
: -> String?
18 19 20 |
# File 'lib/capistrano/data_plane_api/configuration/server.rb', line 18 def name @name || @stage end |
#stage ⇒ Object
: -> String?
13 14 15 |
# File 'lib/capistrano/data_plane_api/configuration/server.rb', line 13 def stage @stage || @name end |