Class: Trackablaze::Param

Inherits:
Object
  • Object
show all
Defined in:
lib/trackablaze/param.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, config) ⇒ Param

Returns a new instance of Param.



5
6
7
8
9
10
# File 'lib/trackablaze/param.rb', line 5

def initialize(name, config)
  @name = name
  @title = config['title']
  @description = config['description']
  @config = config
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



3
4
5
# File 'lib/trackablaze/param.rb', line 3

def config
  @config
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/trackablaze/param.rb', line 3

def description
  @description
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/trackablaze/param.rb', line 3

def name
  @name
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/trackablaze/param.rb', line 3

def title
  @title
end