Class: Ilog::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ilog/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_imageObject

Returns the value of attribute background_image.



3
4
5
# File 'lib/ilog/configuration.rb', line 3

def background_image
  @background_image
end

#baseObject

Returns the value of attribute base.



3
4
5
# File 'lib/ilog/configuration.rb', line 3

def base
  @base
end

#hostObject

Returns the value of attribute host.



3
4
5
# File 'lib/ilog/configuration.rb', line 3

def host
  @host
end

#namespacesObject

Returns the value of attribute namespaces.



3
4
5
# File 'lib/ilog/configuration.rb', line 3

def namespaces
  @namespaces
end

#profileObject

Returns the value of attribute profile.



3
4
5
# File 'lib/ilog/configuration.rb', line 3

def profile
  @profile
end