Class: MML::BaseName
- Inherits:
-
Object
- Object
- MML::BaseName
- Defined in:
- lib/mml/common.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#repCode ⇒ Object
Returns the value of attribute repCode.
-
#tableId ⇒ Object
Returns the value of attribute tableId.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ BaseName
constructor
A new instance of BaseName.
Constructor Details
#initialize(args = {}) ⇒ BaseName
Returns a new instance of BaseName.
8 9 10 11 12 |
# File 'lib/mml/common.rb', line 8 def initialize(args ={}) %W(value repCode tableId).each do |item| self.send("#{item}=", args[item.to_sym]) end end |
Instance Attribute Details
#repCode ⇒ Object
Returns the value of attribute repCode.
5 6 7 |
# File 'lib/mml/common.rb', line 5 def repCode @repCode end |
#tableId ⇒ Object
Returns the value of attribute tableId.
6 7 8 |
# File 'lib/mml/common.rb', line 6 def tableId @tableId end |
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/mml/common.rb', line 5 def value @value end |