Class: Stupidedi::Values::AbstractElementVal

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

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

#element?Boolean

Returns:

  • (Boolean)

    true



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

def element?
  true
end

#sizeInteger

Number of segments in this subtree

Returns:



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

def size
  0
end