lib/x12/table.rb in tcd_x12-1.6.2 vs lib/x12/table.rb in tcd_x12-1.6.3
- old
+ new
@@ -1,11 +1,13 @@
module X12
# This just a named hash to store validation tables.
class Table < Hash
+ # @return [String]
attr_reader :name
# Create a new table with given name and hash content.
+ # @return [void]
def initialize(name, name_values)
@name = name
self.merge!(name_values)
end