Class: MML::BaseName

Inherits:
Object
  • Object
show all
Defined in:
lib/mml/common.rb

Direct Known Subclasses

DepartmentName, FacilityName, Name

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#repCodeObject

Returns the value of attribute repCode.



5
6
7
# File 'lib/mml/common.rb', line 5

def repCode
  @repCode
end

#tableIdObject

Returns the value of attribute tableId.



6
7
8
# File 'lib/mml/common.rb', line 6

def tableId
  @tableId
end

#valueObject

Returns the value of attribute value.



5
6
7
# File 'lib/mml/common.rb', line 5

def value
  @value
end