Class: Ilog::Configuration
- Inherits:
-
Object
- Object
- Ilog::Configuration
- Defined in:
- lib/ilog/configuration.rb
Instance Attribute Summary collapse
-
#background_image ⇒ Object
Returns the value of attribute background_image.
-
#base ⇒ Object
Returns the value of attribute base.
-
#host ⇒ Object
Returns the value of attribute host.
-
#namespaces ⇒ Object
Returns the value of attribute namespaces.
-
#profile ⇒ Object
Returns the value of attribute profile.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ilog/configuration.rb', line 4 def initialize @namespaces = {} @host = 'localhost' @base = '' @background_image = '' @profile = { 'avatar' => '', 'author' => '', 'status' => '', 'website' => '', 'email' => '', 'location' => '', } end |
Instance Attribute Details
#background_image ⇒ Object
Returns the value of attribute background_image.
3 4 5 |
# File 'lib/ilog/configuration.rb', line 3 def background_image @background_image end |
#base ⇒ Object
Returns the value of attribute base.
3 4 5 |
# File 'lib/ilog/configuration.rb', line 3 def base @base end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/ilog/configuration.rb', line 3 def host @host end |
#namespaces ⇒ Object
Returns the value of attribute namespaces.
3 4 5 |
# File 'lib/ilog/configuration.rb', line 3 def namespaces @namespaces end |
#profile ⇒ Object
Returns the value of attribute profile.
3 4 5 |
# File 'lib/ilog/configuration.rb', line 3 def profile @profile end |