X12 0.0.5 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +6 -1
- data/Rakefile +14 -3
- data/example/parse.rb +1 -0
- data/lib/X12.rb +2 -2
- data/lib/X12/Base.rb +5 -1
- data/lib/X12/Field.rb +18 -14
- data/lib/X12/Loop.rb +10 -6
- data/lib/X12/Parser.rb +31 -5
- data/lib/X12/Segment.rb +15 -2
- data/misc/997.d12 +8 -775
- data/misc/IEA.d12 +10 -0
- data/misc/ISA.d12 +24 -0
- data/misc/SE.d12 +12 -0
- data/misc/ST.d12 +7 -0
- data/misc/Tbl143.d12 +302 -0
- data/misc/Tbl479.d12 +238 -0
- data/misc/Tbl715.d12 +11 -0
- data/misc/Tbl716.d12 +27 -0
- data/misc/Tbl717.d12 +10 -0
- data/misc/Tbl718.d12 +29 -0
- data/misc/Tbl720.d12 +12 -0
- data/misc/Tbl723.d12 +14 -0
- data/misc/TblI01.d12 +11 -0
- data/misc/TblI03.d12 +6 -0
- data/misc/TblI05.d12 +42 -0
- data/misc/TblI10.d12 +5 -0
- data/misc/TblI11.d12 +18 -0
- data/misc/TblI13.d12 +6 -0
- data/misc/TblI14.d12 +7 -0
- data/test/tc_factory_997.rb +6 -6
- data/test/tc_parse_997.rb +4 -4
- metadata +23 -37
- data/doc/classes/X12.html +0 -174
- data/doc/classes/X12/Base.html +0 -677
- data/doc/classes/X12/Composite.html +0 -156
- data/doc/classes/X12/Empty.html +0 -186
- data/doc/classes/X12/Field.html +0 -339
- data/doc/classes/X12/Loop.html +0 -202
- data/doc/classes/X12/Parser.html +0 -306
- data/doc/classes/X12/Segment.html +0 -277
- data/doc/classes/X12/Table.html +0 -198
- data/doc/created.rid +0 -1
- data/doc/files/CHANGELOG.html +0 -108
- data/doc/files/README.html +0 -474
- data/doc/files/TODO.html +0 -95
- data/doc/files/lib/X12/Base_rb.html +0 -83
- data/doc/files/lib/X12/Composite_rb.html +0 -83
- data/doc/files/lib/X12/Empty_rb.html +0 -83
- data/doc/files/lib/X12/Field_rb.html +0 -83
- data/doc/files/lib/X12/Loop_rb.html +0 -83
- data/doc/files/lib/X12/Parser_rb.html +0 -83
- data/doc/files/lib/X12/Segment_rb.html +0 -83
- data/doc/files/lib/X12/Table_rb.html +0 -83
- data/doc/files/lib/X12_rb.html +0 -100
- data/doc/fr_class_index.html +0 -35
- data/doc/fr_file_index.html +0 -38
- data/doc/fr_method_index.html +0 -62
- data/doc/index.html +0 -27
- data/doc/rdoc-style.css +0 -208
- data/test/ts_x12.rb +0 -27
data/misc/Tbl715.d12
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# $Id: Tbl715.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table Tbl715 {
|
4
|
+
A Accepted
|
5
|
+
E Accepted, But Errors Were Noted.
|
6
|
+
M Rejected, Message Authentication Code (MAC) Failed
|
7
|
+
P Partially Accepted, At Least One Transaction Set Was Rejected
|
8
|
+
R Rejected
|
9
|
+
W Rejected, Assurance Failed Validity Tests
|
10
|
+
X Rejected, Content After Decryption Could Not Be Analyzed
|
11
|
+
} # Tbl715
|
data/misc/Tbl716.d12
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# $Id: Tbl716.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table Tbl716 {
|
4
|
+
1 Functional Group Not Supported
|
5
|
+
2 Functional Group Version Not Supported
|
6
|
+
3 Functional Group Trailer Missing
|
7
|
+
4 Group Control Number in the Functional Group Header and Trailer Do Not Agree
|
8
|
+
5 Number of Included Transaction Sets Does Not Match Actual Count
|
9
|
+
6 Group Control Number Violates Syntax
|
10
|
+
10 Authentication Key Name Unknown
|
11
|
+
11 Encryption Key Name Unknown
|
12
|
+
12 Requested Service (Authentication or Encryption) Not Available
|
13
|
+
13 Unknown Security Recipient
|
14
|
+
14 Unknown Security Originator
|
15
|
+
15 Syntax Error in Decrypted Text
|
16
|
+
16 Security Not Supported
|
17
|
+
17 Incorrect Message Length (Encryption Only)
|
18
|
+
18 Message Authentication Code Failed
|
19
|
+
19 S1E Security End Segment Missing for S1S Security Start Segment
|
20
|
+
20 S1S Security Start Segment Missing for S1E End Segment
|
21
|
+
21 S2E Security End Segment Missing for S2S Security Start Segment
|
22
|
+
22 S2S Security Start Segment Missing for S2E Security End Segment
|
23
|
+
23 S3E Security End Segment Missing for S3S Security Start Segment
|
24
|
+
24 S3S Security Start Segment Missing for S3E End Segment
|
25
|
+
25 S4E Security End Segment Missing for S4S Security Start Segment
|
26
|
+
26 S4S Security Start Segment Missing for S4E Security End Segment
|
27
|
+
} # Tbl716
|
data/misc/Tbl717.d12
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# $Id: Tbl717.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table Tbl717 {
|
4
|
+
A Accepted
|
5
|
+
E Accepted But Errors Were Noted
|
6
|
+
M Rejected, Message Authentication Code (MAC) Failed
|
7
|
+
R Rejected
|
8
|
+
W Rejected, Assurance Failed Validity Tests
|
9
|
+
X Rejected, Content After Decryption Could Not Be Analyzed
|
10
|
+
} # Tbl717
|
data/misc/Tbl718.d12
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# $Id: Tbl718.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table Tbl718 {
|
4
|
+
1 Transaction Set Not Supported
|
5
|
+
2 Transaction Set Trailer Missing
|
6
|
+
3 Transaction Set Control Number in Header and Trailer Do Not Match
|
7
|
+
4 Number of Included Segments Does Not Match Actual Count
|
8
|
+
5 One or More Segments in Error
|
9
|
+
6 Missing or Invalid Transaction Set Identifier
|
10
|
+
7 Missing or Invalid Transaction Set Control Number
|
11
|
+
8 Authentication Key Name Unknown
|
12
|
+
9 Encryption Key Name Unknown
|
13
|
+
10 Requested Service (Authentication or Encrypted) Not Available
|
14
|
+
11 Unknown Security Recipient
|
15
|
+
12 Incorrect Message Length (Encryption Only)
|
16
|
+
13 Message Authentication Code Failed
|
17
|
+
15 Unknown Security Originator
|
18
|
+
16 Syntax Error in Decrypted Text
|
19
|
+
17 Security Not Supported
|
20
|
+
19 S1E Security End Segment Missing for S1S Security Start Segment
|
21
|
+
20 S1S Security Start Segment Missing for S1E Security End Segment
|
22
|
+
21 S2E Security End Segment Missing for S2S Security Start Segment
|
23
|
+
22 S2S Security Start Segment Missing for S2E Security End Segment
|
24
|
+
23 Transaction Set Control Number Not Unique within the Functional Group
|
25
|
+
24 S3E Security End Segment Missing for S3S Security Start Segment
|
26
|
+
25 S3S Security Start Segment Missing for S3E Security End Segment
|
27
|
+
26 S4E Security End Segment Missing for S4S Security Start Segment
|
28
|
+
27 S4S Security Start Segment Missing for S4E Security End Segment
|
29
|
+
} # Tbl718
|
data/misc/Tbl720.d12
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# $Id: Tbl720.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table Tbl720 {
|
4
|
+
1 Unrecognized segment ID
|
5
|
+
2 Unexpected segment
|
6
|
+
3 Mandatory segment missing
|
7
|
+
4 Loop Occurs Over Maximum Times
|
8
|
+
5 Segment Exceeds Maximum Use
|
9
|
+
6 Segment Not in Defined Transaction Set
|
10
|
+
7 Segment Not in Proper Sequence
|
11
|
+
8 Segment Has Data Element Errors
|
12
|
+
} # Tbl720
|
data/misc/Tbl723.d12
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# $Id: Tbl723.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table Tbl723 {
|
4
|
+
1 Mandatory data element missing
|
5
|
+
2 Conditional required data element missing.
|
6
|
+
3 Too many data elements.
|
7
|
+
4 Data element too short.
|
8
|
+
5 Data element too long.
|
9
|
+
6 Invalid character in data element.
|
10
|
+
7 Invalid code value.
|
11
|
+
8 Invalid Date
|
12
|
+
9 Invalid Time
|
13
|
+
10 Exclusion Condition Violated
|
14
|
+
} # Tbl723
|
data/misc/TblI01.d12
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# $Id: TblI01.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table TblI01 {
|
4
|
+
00 No Authorization Information Present (No Meaningful Information in I02)
|
5
|
+
01 UCS Communications ID
|
6
|
+
02 EDX Communications ID
|
7
|
+
03 Additional Data Identification
|
8
|
+
04 Rail Communications ID
|
9
|
+
05 Department of Defense (DoD) Communication Identifier
|
10
|
+
06 United States Federal Government Communication Identifier
|
11
|
+
} # TblI01
|
data/misc/TblI03.d12
ADDED
data/misc/TblI05.d12
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# $Id: TblI05.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table TblI05 {
|
4
|
+
01 Duns (Dun & Bradstreet)
|
5
|
+
02 SCAC (Standard Carrier Alpha Code)
|
6
|
+
03 FMC (Federal Maritime Commission)
|
7
|
+
04 IATA (International Air Transport Association)
|
8
|
+
08 UCC EDI Communications ID (Comm ID)
|
9
|
+
09 X.121 (CCITT)
|
10
|
+
10 Department of Defense (DoD) Activity Address Code
|
11
|
+
11 DEA (Drug Enforcement Administration)
|
12
|
+
12 Phone (Telephone Companies)
|
13
|
+
13 UCS Code (The UCS Code is a Code Used for UCS Transmissions; it includes the Area Code and Telephone Number of a Modem; it Does Not Include Punctuation, Blanks or Access Code)
|
14
|
+
14 Duns Plus Suffix
|
15
|
+
15 Petroleum Accountants Society of Canada Company Code
|
16
|
+
16 Duns Number With 4-Character Suffix
|
17
|
+
17 American Bankers Association (ABA) Transit Routing Number (Including Check Digit, 9 Digit)
|
18
|
+
18 Association of American Railroads (AAR) Standard Distribution Code
|
19
|
+
19 EDI Council of Australia (EDICA) Communications ID Number (COMM ID)
|
20
|
+
20 Health Industry Number (HIN)
|
21
|
+
21 Integrated Postsecondary Education Data System, or (IPEDS)
|
22
|
+
22 Federal Interagency Commission on Education, or FICE
|
23
|
+
23 National Center for Education Statistics Common Core of Data 12-Digit Number for Pre-K-Grade 12 Institutes, or NCES
|
24
|
+
24 The College Board's Admission Testing Program 4-Digit Code of Postsecondary Institutes, or ATP
|
25
|
+
25 American College Testing Program 4-Digit Code of Postsecondary Institutions, or ACT
|
26
|
+
26 Statistics of Canada List of Postsecondary Institutions
|
27
|
+
27 Carrier Identification Number as assigned by Health Care Financing Administration (HCFA)
|
28
|
+
28 Fiscal Intermediary Identification Number as assigned by Health Care Financing Administration (HCFA)
|
29
|
+
29 Medicare Provider and Supplier Identification Number as assigned by Health Care Financing Administration (HCFA)
|
30
|
+
30 U.S. Federal Tax Identification Number
|
31
|
+
31 Jurisdiction Identification Number Plus 4 as assigned by the International Association of Industrial Accident Boards and Commissions (IAIABC)
|
32
|
+
32 U.S. Federal Employer Identification Number (FEIN)
|
33
|
+
33 National Association of Insurance Commissioners Company Code (NAIC)
|
34
|
+
34 Medicaid Provider and Supplier Identification Number as assigned by individual State Medicaid Agencies in conjunction with Health Care Financing Administration (HCFA)
|
35
|
+
35 Statistics Canada Canadian College Student Information System Institution Codes
|
36
|
+
36 Statistics Canada University Student Information System Institution Codes
|
37
|
+
37 Society of Property Information Compilers and Analysts
|
38
|
+
AM Association Mexicana del Codigo de Producto (AMECOP) Communication ID
|
39
|
+
NR National Retail Merchants Association (NRMA) - Assigned
|
40
|
+
SN Standard Address Number
|
41
|
+
ZZ Mutually Defined
|
42
|
+
} # TblI05
|
data/misc/TblI10.d12
ADDED
data/misc/TblI11.d12
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# $Id: TblI11.d12 41 2009-03-16 22:53:28Z ikk $
|
2
|
+
|
3
|
+
table TblI11 {
|
4
|
+
00200 Standard Issued as ANSI X12.5-1987
|
5
|
+
00201 Draft Standard for Trial Use Approved by ASC X12 Through August 1988
|
6
|
+
00204 Draft Standard for Trial Use Approved by ASC X12 Through May 1989
|
7
|
+
00300 Standard Issued as ANSI X12.5-1992
|
8
|
+
00301 Draft Standard for Trial Use Approved for Publication by ASC X12 Procedures Review Board Through October 1990
|
9
|
+
00302 Draft Standard for Trial Use Approved for Publication by ASC X12 Procedures Review Board Through October 1991
|
10
|
+
00303 Draft Standard for Trial Use Approved for Publication by ASC X12 Procedures Review Board Through October 1992
|
11
|
+
00304 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1993
|
12
|
+
00305 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1994
|
13
|
+
00306 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1995
|
14
|
+
00307 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1996
|
15
|
+
00400 Standard Issued as ANSI X12.5-1997
|
16
|
+
00401 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
|
17
|
+
00402 Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1998
|
18
|
+
} # TblI11
|
data/misc/TblI13.d12
ADDED
data/misc/TblI14.d12
ADDED
data/test/tc_factory_997.rb
CHANGED
@@ -24,10 +24,10 @@
|
|
24
24
|
require 'x12'
|
25
25
|
require 'test/unit'
|
26
26
|
|
27
|
-
class
|
27
|
+
class Test997Factory < Test::Unit::TestCase
|
28
28
|
|
29
29
|
@@p = nil
|
30
|
-
|
30
|
+
tmp=<<-EOT
|
31
31
|
ST*997*2878~
|
32
32
|
AK1*HS*293328532~
|
33
33
|
AK2*270*~
|
@@ -44,8 +44,8 @@ AK9****~
|
|
44
44
|
SE**~
|
45
45
|
EOT
|
46
46
|
|
47
|
-
@@result =
|
48
|
-
|
47
|
+
@@result = tmp.gsub!(/\n/,'')
|
48
|
+
@@times = 1000
|
49
49
|
|
50
50
|
def setup
|
51
51
|
unless @@p
|
@@ -120,11 +120,11 @@ EOT
|
|
120
120
|
|
121
121
|
def test_timing
|
122
122
|
start = Time::now
|
123
|
-
|
123
|
+
@@times.times do
|
124
124
|
test_all
|
125
125
|
end
|
126
126
|
finish = Time::now
|
127
|
-
puts "Factories per second: #{
|
127
|
+
puts "Factories per second, 997: #{@@times.to_f/(finish-start)}, elapsed: #{finish-start}"
|
128
128
|
end # test_timing
|
129
129
|
|
130
130
|
end # TestList
|
data/test/tc_parse_997.rb
CHANGED
@@ -24,11 +24,11 @@
|
|
24
24
|
require 'x12'
|
25
25
|
require 'test/unit'
|
26
26
|
|
27
|
-
class
|
27
|
+
class Test997Parse < Test::Unit::TestCase
|
28
28
|
|
29
29
|
@@p = nil
|
30
30
|
@@parser = X12::Parser.new('misc/997.d12')
|
31
|
-
|
31
|
+
@@times = 1000
|
32
32
|
|
33
33
|
def setup
|
34
34
|
unless @@p
|
@@ -130,7 +130,7 @@ EOT
|
|
130
130
|
|
131
131
|
def test_timing
|
132
132
|
start = Time::now
|
133
|
-
|
133
|
+
@@times.times do
|
134
134
|
@r = @@parser.parse('997', @@m997)
|
135
135
|
test_ST
|
136
136
|
test_AK1
|
@@ -140,7 +140,7 @@ EOT
|
|
140
140
|
test_absent
|
141
141
|
end
|
142
142
|
finish = Time::now
|
143
|
-
puts "Parses per second: #{
|
143
|
+
puts "Parses per second, 997: #{@@times.to_f/(finish-start)}, elapsed: #{finish-start}"
|
144
144
|
end # test_timing
|
145
145
|
|
146
146
|
end # TestList
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: X12
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0
|
7
|
-
date:
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2009-03-19 00:00:00 -05:00
|
8
8
|
summary: X12 parsing and generation library
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -34,38 +34,6 @@ files:
|
|
34
34
|
- TODO
|
35
35
|
- CHANGELOG
|
36
36
|
- COPYING
|
37
|
-
- doc/classes
|
38
|
-
- doc/classes/X12
|
39
|
-
- doc/classes/X12/Base.html
|
40
|
-
- doc/classes/X12/Composite.html
|
41
|
-
- doc/classes/X12/Empty.html
|
42
|
-
- doc/classes/X12/Field.html
|
43
|
-
- doc/classes/X12/Loop.html
|
44
|
-
- doc/classes/X12/Parser.html
|
45
|
-
- doc/classes/X12/Segment.html
|
46
|
-
- doc/classes/X12/Table.html
|
47
|
-
- doc/classes/X12.html
|
48
|
-
- doc/created.rid
|
49
|
-
- doc/files
|
50
|
-
- doc/files/CHANGELOG.html
|
51
|
-
- doc/files/lib
|
52
|
-
- doc/files/lib/X12
|
53
|
-
- doc/files/lib/X12/Base_rb.html
|
54
|
-
- doc/files/lib/X12/Composite_rb.html
|
55
|
-
- doc/files/lib/X12/Empty_rb.html
|
56
|
-
- doc/files/lib/X12/Field_rb.html
|
57
|
-
- doc/files/lib/X12/Loop_rb.html
|
58
|
-
- doc/files/lib/X12/Parser_rb.html
|
59
|
-
- doc/files/lib/X12/Segment_rb.html
|
60
|
-
- doc/files/lib/X12/Table_rb.html
|
61
|
-
- doc/files/lib/X12_rb.html
|
62
|
-
- doc/files/README.html
|
63
|
-
- doc/files/TODO.html
|
64
|
-
- doc/fr_class_index.html
|
65
|
-
- doc/fr_file_index.html
|
66
|
-
- doc/fr_method_index.html
|
67
|
-
- doc/index.html
|
68
|
-
- doc/rdoc-style.css
|
69
37
|
- lib/X12
|
70
38
|
- lib/X12/Base.rb
|
71
39
|
- lib/X12/Composite.rb
|
@@ -79,13 +47,31 @@ files:
|
|
79
47
|
- lib/X12.rb
|
80
48
|
- test/tc_factory_997.rb
|
81
49
|
- test/tc_parse_997.rb
|
82
|
-
- test/ts_x12.rb
|
83
50
|
- example/factory.rb
|
84
51
|
- example/parse.rb
|
85
52
|
- misc/997.d12
|
53
|
+
- misc/IEA.d12
|
54
|
+
- misc/ISA.d12
|
86
55
|
- misc/rdoc_template.rb
|
87
|
-
|
88
|
-
-
|
56
|
+
- misc/SE.d12
|
57
|
+
- misc/ST.d12
|
58
|
+
- misc/Tbl143.d12
|
59
|
+
- misc/Tbl479.d12
|
60
|
+
- misc/Tbl715.d12
|
61
|
+
- misc/Tbl716.d12
|
62
|
+
- misc/Tbl717.d12
|
63
|
+
- misc/Tbl718.d12
|
64
|
+
- misc/Tbl720.d12
|
65
|
+
- misc/Tbl723.d12
|
66
|
+
- misc/TblI01.d12
|
67
|
+
- misc/TblI03.d12
|
68
|
+
- misc/TblI05.d12
|
69
|
+
- misc/TblI10.d12
|
70
|
+
- misc/TblI11.d12
|
71
|
+
- misc/TblI13.d12
|
72
|
+
- misc/TblI14.d12
|
73
|
+
test_files: []
|
74
|
+
|
89
75
|
rdoc_options: []
|
90
76
|
|
91
77
|
extra_rdoc_files: []
|
data/doc/classes/X12.html
DELETED
@@ -1,174 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: X12</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">X12</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/X12/Base_rb.html">
|
59
|
-
lib/X12/Base.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
<a href="../files/lib/X12/Composite_rb.html">
|
63
|
-
lib/X12/Composite.rb
|
64
|
-
</a>
|
65
|
-
<br />
|
66
|
-
<a href="../files/lib/X12/Empty_rb.html">
|
67
|
-
lib/X12/Empty.rb
|
68
|
-
</a>
|
69
|
-
<br />
|
70
|
-
<a href="../files/lib/X12/Field_rb.html">
|
71
|
-
lib/X12/Field.rb
|
72
|
-
</a>
|
73
|
-
<br />
|
74
|
-
<a href="../files/lib/X12/Loop_rb.html">
|
75
|
-
lib/X12/Loop.rb
|
76
|
-
</a>
|
77
|
-
<br />
|
78
|
-
<a href="../files/lib/X12/Parser_rb.html">
|
79
|
-
lib/X12/Parser.rb
|
80
|
-
</a>
|
81
|
-
<br />
|
82
|
-
<a href="../files/lib/X12/Segment_rb.html">
|
83
|
-
lib/X12/Segment.rb
|
84
|
-
</a>
|
85
|
-
<br />
|
86
|
-
<a href="../files/lib/X12/Table_rb.html">
|
87
|
-
lib/X12/Table.rb
|
88
|
-
</a>
|
89
|
-
<br />
|
90
|
-
<a href="../files/lib/X12_rb.html">
|
91
|
-
lib/X12.rb
|
92
|
-
</a>
|
93
|
-
<br />
|
94
|
-
</td>
|
95
|
-
</tr>
|
96
|
-
|
97
|
-
</table>
|
98
|
-
</div>
|
99
|
-
<!-- banner header -->
|
100
|
-
|
101
|
-
<div id="bodyContent">
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
<div id="contextContent">
|
106
|
-
|
107
|
-
<div id="description">
|
108
|
-
<p>
|
109
|
-
$Id: X12.rb 35 2008-11-13 18:33:44Z ikk $
|
110
|
-
</p>
|
111
|
-
<p>
|
112
|
-
Package implementing direct manipulation of <a href="X12.html">X12</a>
|
113
|
-
structures using Ruby syntax.
|
114
|
-
</p>
|
115
|
-
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
</div>
|
120
|
-
|
121
|
-
|
122
|
-
</div>
|
123
|
-
|
124
|
-
|
125
|
-
<!-- if includes -->
|
126
|
-
|
127
|
-
<div id="section">
|
128
|
-
|
129
|
-
<div id="class-list">
|
130
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
131
|
-
|
132
|
-
Class <a href="X12/Base.html" class="link">X12::Base</a><br />
|
133
|
-
Class <a href="X12/Composite.html" class="link">X12::Composite</a><br />
|
134
|
-
Class <a href="X12/Empty.html" class="link">X12::Empty</a><br />
|
135
|
-
Class <a href="X12/Field.html" class="link">X12::Field</a><br />
|
136
|
-
Class <a href="X12/Loop.html" class="link">X12::Loop</a><br />
|
137
|
-
Class <a href="X12/Parser.html" class="link">X12::Parser</a><br />
|
138
|
-
Class <a href="X12/Segment.html" class="link">X12::Segment</a><br />
|
139
|
-
Class <a href="X12/Table.html" class="link">X12::Table</a><br />
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<div id="constants-list">
|
144
|
-
<h3 class="section-bar">Constants</h3>
|
145
|
-
|
146
|
-
<div class="name-list">
|
147
|
-
<table summary="Constants">
|
148
|
-
<tr class="top-aligned-row context-row">
|
149
|
-
<td class="context-item-name">VERSION</td>
|
150
|
-
<td>=</td>
|
151
|
-
<td class="context-item-value">'0.0.5'</td>
|
152
|
-
</tr>
|
153
|
-
<tr class="top-aligned-row context-row">
|
154
|
-
<td class="context-item-name">EMPTY</td>
|
155
|
-
<td>=</td>
|
156
|
-
<td class="context-item-value">Empty.new()</td>
|
157
|
-
</tr>
|
158
|
-
</table>
|
159
|
-
</div>
|
160
|
-
</div>
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<!-- if method_list -->
|
168
|
-
|
169
|
-
|
170
|
-
</div>
|
171
|
-
|
172
|
-
|
173
|
-
</body>
|
174
|
-
</html>
|