Class: Universign::Configuration
- Inherits:
-
Object
- Object
- Universign::Configuration
- Defined in:
- lib/universign.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#language ⇒ Object
Returns the value of attribute language.
-
#password ⇒ Object
Returns the value of attribute password.
-
#production ⇒ Object
Returns the value of attribute production.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
21 22 23 24 25 26 |
# File 'lib/universign.rb', line 21 def initialize @language = 'en' @debug = false @production = false @profile = 'default' end |
Instance Attribute Details
#debug ⇒ Object
Returns the value of attribute debug.
18 19 20 |
# File 'lib/universign.rb', line 18 def debug @debug end |
#language ⇒ Object
Returns the value of attribute language.
18 19 20 |
# File 'lib/universign.rb', line 18 def language @language end |
#password ⇒ Object
Returns the value of attribute password.
18 19 20 |
# File 'lib/universign.rb', line 18 def password @password end |
#production ⇒ Object
Returns the value of attribute production.
18 19 20 |
# File 'lib/universign.rb', line 18 def production @production end |
#profile ⇒ Object
Returns the value of attribute profile.
18 19 20 |
# File 'lib/universign.rb', line 18 def profile @profile end |
#user ⇒ Object
Returns the value of attribute user.
18 19 20 |
# File 'lib/universign.rb', line 18 def user @user end |