Class: RailsZero::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_zero/config.rb

Defined Under Namespace

Classes: Backend, GitDeployment, Site

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#backendObject (readonly)

Returns the value of attribute backend.



72
73
74
# File 'lib/rails_zero/config.rb', line 72

def backend
  @backend
end

#deploymentObject (readonly)

Returns the value of attribute deployment.



72
73
74
# File 'lib/rails_zero/config.rb', line 72

def deployment
  @deployment
end

#siteObject (readonly)

Returns the value of attribute site.



72
73
74
# File 'lib/rails_zero/config.rb', line 72

def site
  @site
end