class X12::Table
This just a named hash to store validation tables.
Attributes
name[R]
@return [String]
Public Class Methods
new(name, name_values)
click to toggle source
Create a new table with given name and hash content. @return [void]
# File lib/x12/table.rb, line 10 def initialize(name, name_values) @name = name self.merge!(name_values) end
Public Instance Methods
inspect()
click to toggle source
Return a printable string representing this table @return [String]
# File lib/x12/table.rb, line 17 def inspect "Table #{name} -- #{super.inspect}" end