Class: Stupidedi::Values::AbstractElementVal

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

Instance Method Summary collapse

Methods inherited from AbstractVal

#blank?, #characters, #component?, #composite?, #definition, #descriptor, #empty?, #functional_group?, #interchange?, #invalid?, #leaf?, #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



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

def element?
  true
end

#sizeInteger

Number of segments in this subtree

Returns:

  • (Integer)


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

def size
  0
end