Class: Stupidedi::Values::AbstractElementVal
- Inherits:
-
AbstractVal
- Object
- AbstractVal
- Stupidedi::Values::AbstractElementVal
- Defined in:
- lib/stupidedi/values/abstract_element_val.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#element? ⇒ Boolean
Is this a AbstractElementVal?.
-
#size ⇒ Integer
Number of segments in this subtree.
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
Methods included from Inspect
Instance Method Details
#element? ⇒ Boolean
Is this a Stupidedi::Values::AbstractElementVal?
9 10 11 |
# File 'lib/stupidedi/values/abstract_element_val.rb', line 9 def element? true end |
#size ⇒ Integer
Number of segments in this subtree
14 15 16 |
# File 'lib/stupidedi/values/abstract_element_val.rb', line 14 def size 0 end |