Class: Backdrop::Configuration
- Inherits:
-
Object
- Object
- Backdrop::Configuration
- Defined in:
- lib/backdrop/configuration.rb
Defined Under Namespace
Classes: Http
Instance Attribute Summary collapse
-
#http ⇒ Object
readonly
Returns the value of attribute http.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#projects ⇒ Object
Returns the value of attribute projects.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 |
# File 'lib/backdrop/configuration.rb', line 7 def initialize @output_dir = './fixtures' @projects = [] @http = Http.new end |
Instance Attribute Details
#http ⇒ Object (readonly)
Returns the value of attribute http.
5 6 7 |
# File 'lib/backdrop/configuration.rb', line 5 def http @http end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
3 4 5 |
# File 'lib/backdrop/configuration.rb', line 3 def output_dir @output_dir end |
#projects ⇒ Object
Returns the value of attribute projects.
4 5 6 |
# File 'lib/backdrop/configuration.rb', line 4 def projects @projects end |