Class: RailsZero::Config
- Inherits:
-
Object
- Object
- RailsZero::Config
- Defined in:
- lib/rails_zero/config.rb
Defined Under Namespace
Classes: Backend, GitDeployment, Site
Instance Attribute Summary collapse
-
#backend ⇒ Object
readonly
Returns the value of attribute backend.
-
#deployment ⇒ Object
readonly
Returns the value of attribute deployment.
-
#site ⇒ Object
readonly
Returns the value of attribute site.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
76 77 78 79 80 |
# File 'lib/rails_zero/config.rb', line 76 def initialize @backend = Backend.new @deployment = GitDeployment.new @site = Site.new end |
Instance Attribute Details
#backend ⇒ Object (readonly)
Returns the value of attribute backend.
72 73 74 |
# File 'lib/rails_zero/config.rb', line 72 def backend @backend end |
#deployment ⇒ Object (readonly)
Returns the value of attribute deployment.
72 73 74 |
# File 'lib/rails_zero/config.rb', line 72 def deployment @deployment end |
#site ⇒ Object (readonly)
Returns the value of attribute site.
72 73 74 |
# File 'lib/rails_zero/config.rb', line 72 def site @site end |