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, #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



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

def element?
  true
end

#sizeInteger

Number of segments in this subtree



17
18
19
# File 'lib/stupidedi/values/abstract_element_val.rb', line 17

def size
  0
end