Module: Saxon::XDM::ItemSequenceLike

Included in:
Array, AtomicValue, ExternalObject, FunctionItem, Map, Node
Defined in:
lib/saxon/xdm/sequence_like.rb

Instance Method Summary collapse

Instance Method Details

#sequence_enumObject



21
22
23
# File 'lib/saxon/xdm/sequence_like.rb', line 21

def sequence_enum
  [self].to_enum
end

#sequence_sizeObject



25
26
27
# File 'lib/saxon/xdm/sequence_like.rb', line 25

def sequence_size
  1
end