Class: Stupidedi::Values::AbstractElementVal

Inherits:
AbstractVal show all
Defined in:
lib/stupidedi/values/abstract_element_val.rb

Direct Known Subclasses

CompositeElementVal, RepeatedElementVal, SimpleElementVal

Instance Method Summary (collapse)

Methods inherited from AbstractVal

#blank?, #characters, #component?, #composite?, #definition, #empty?, #functional_group?, #interchange?, #invalid?, #loop?, #present?, #repeated?, #segment?, #separator?, #simple?, #table?, #transaction_set?, #transmission?, #valid?

Methods included from Color

ansi, #ansi

Methods included from Inspect

#inspect

Instance Method Details

- (Boolean) element?



8
9
10
# File 'lib/stupidedi/values/abstract_element_val.rb', line 8

def element?
  true
end

- (Integer) size

Number of segments in this subtree



13
14
15
# File 'lib/stupidedi/values/abstract_element_val.rb', line 13

def size
  0
end