Module: RBEDI

Defined in:
lib/rbedi.rb,
lib/rbedi/codes.rb,
lib/rbedi/parser.rb,
lib/rbedi/segment.rb,
lib/rbedi/codes/eb.rb,
lib/rbedi/codes/eq.rb,
lib/rbedi/codes/ge.rb,
lib/rbedi/codes/gs.rb,
lib/rbedi/codes/hl.rb,
lib/rbedi/codes/le.rb,
lib/rbedi/codes/ls.rb,
lib/rbedi/codes/n3.rb,
lib/rbedi/codes/n4.rb,
lib/rbedi/codes/se.rb,
lib/rbedi/codes/st.rb,
lib/rbedi/codes/aaa.rb,
lib/rbedi/codes/ak1.rb,
lib/rbedi/codes/ak2.rb,
lib/rbedi/codes/ak9.rb,
lib/rbedi/codes/bht.rb,
lib/rbedi/codes/dmg.rb,
lib/rbedi/codes/dtp.rb,
lib/rbedi/codes/iea.rb,
lib/rbedi/codes/ik3.rb,
lib/rbedi/codes/ik4.rb,
lib/rbedi/codes/ik5.rb,
lib/rbedi/codes/isa.rb,
lib/rbedi/codes/msg.rb,
lib/rbedi/codes/nm1.rb,
lib/rbedi/codes/per.rb,
lib/rbedi/codes/ref.rb,
lib/rbedi/codes/trn.rb,
lib/rbedi/codes/codeset.rb,
lib/rbedi/edi_date_time.rb,
lib/rbedi/transaction_set.rb,
lib/rbedi/functional_group.rb,
lib/rbedi/codes/segment_names.rb,
lib/rbedi/transaction_envelope.rb,
lib/rbedi/non_existent_element_error.rb

Defined Under Namespace

Modules: Codes Classes: EDIDateTime, FunctionalGroup, NonExistentElementError, Parser, Segment, TransactionEnvelope, TransactionSet

Constant Summary collapse

@@files =
[
  "codes.rb",
  "codes/codeset.rb",
  "codes/segment_names.rb",
  "edi_date_time.rb",
  "functional_group.rb",
  "parser.rb",
  "segment.rb",
  "transaction_envelope.rb",
  "transaction_set.rb",
  "non_existent_element_error.rb",
]
@@exe =
["edi"]

Class Method Summary collapse

Class Method Details

.executablesObject



25
26
27
# File 'lib/rbedi.rb', line 25

def self.executables
  @@exe
end

.file_paths(relative: false) ⇒ Object



29
30
31
32
33
34
35
36
37
38
39
# File 'lib/rbedi.rb', line 29

def self.file_paths(relative:false)
  x = @@files.map do |f|
    "#{"lib/" unless relative}rbedi/#{f}"
  end

  if relative
    return x
  else
    return x + ['lib/rbedi.rb']
  end
end

.versionObject



21
22
23
# File 'lib/rbedi.rb', line 21

def self.version
  "0.0.1"
end