class X12::Table

$Id: Table.rb 35 2008-11-13 18:33:44Z ikk $

This just a named hash to store validation tables.

Attributes

name[R]

Public Class Methods

new(name, name_values) click to toggle source

Create a new table with given name and hash content.

# File lib/x12/table.rb, line 34
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

# File lib/x12/table.rb, line 40
def inspect
  "Table #{name} -- #{super.inspect}"
end