Class: Gaston::Configuration
- Inherits:
-
Object
- Object
- Gaston::Configuration
- Defined in:
- lib/gaston/configuration.rb
Class Attribute Summary collapse
-
.env ⇒ Object
Returns the value of attribute env.
-
.files ⇒ Object
Returns the value of attribute files.
Class Method Summary collapse
-
.configure(&block) {|_self| ... } ⇒ Object
Define a configure block.
Class Attribute Details
.env ⇒ Object
Returns the value of attribute env.
7 8 9 |
# File 'lib/gaston/configuration.rb', line 7 def env @env end |
.files ⇒ Object
Returns the value of attribute files.
7 8 9 |
# File 'lib/gaston/configuration.rb', line 7 def files @files end |
Class Method Details
.configure(&block) {|_self| ... } ⇒ Object
Define a configure block.
21 22 23 24 |
# File 'lib/gaston/configuration.rb', line 21 def configure(&block) default_values! yield self end |