Class X12::Table
In: lib/X12/Table.rb
Parent: Hash

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

This just a named hash to store validation tables.

Methods

inspect   new  

Attributes

name  [R] 

Public Class methods

Create a new table with given name and hash content.

[Source]

    # File lib/X12/Table.rb, line 34
34:     def initialize(name, name_values)
35:       @name = name       
36:       self.merge!(name_values)
37:     end

Public Instance methods

Return a printable string representing this table

[Source]

    # File lib/X12/Table.rb, line 40
40:     def inspect
41:       "Table #{name} -- #{super.inspect}"
42:     end