Module: Bummer::Config
- Defined in:
- lib/bummer/config.rb
Class Attribute Summary collapse
-
.application ⇒ Object
Returns the value of attribute application.
-
.host ⇒ Object
Returns the value of attribute host.
-
.installation ⇒ Object
Returns the value of attribute installation.
-
.port ⇒ Object
Returns the value of attribute port.
Class Method Summary collapse
Class Attribute Details
.application ⇒ Object
Returns the value of attribute application.
5 6 7 |
# File 'lib/bummer/config.rb', line 5 def application @application end |
.host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/bummer/config.rb', line 5 def host @host end |
.installation ⇒ Object
Returns the value of attribute installation.
5 6 7 |
# File 'lib/bummer/config.rb', line 5 def installation @installation end |
.port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/bummer/config.rb', line 5 def port @port end |
Class Method Details
.configure(&block) ⇒ Object
10 11 12 |
# File 'lib/bummer/config.rb', line 10 def configure(&block) @configuration = block end |
.configure! ⇒ Object
14 15 16 |
# File 'lib/bummer/config.rb', line 14 def configure! @configuration.call(self) if @configuration end |