Sha256: a5f86aa9dc25437e87b8c6e5211782410d8cc60b2de5614a3c426c7122aeb4ed
Contents?: true
Size: 830 Bytes
Versions: 5
Compression:
Stored size: 830 Bytes
Contents
require_relative 's9api' module Saxon # Provides simple access to Saxon's OccurrenceIndicator constants, # for use in declaring variable types module OccurrenceIndicator class << self def one @one ||= Saxon::S9API::OccurrenceIndicator::ONE end def one_or_more @one_or_more ||= Saxon::S9API::OccurrenceIndicator::ONE_OR_MORE end def zero @zero ||= Saxon::S9API::OccurrenceIndicator::ZERO end def zero_or_more @zero_or_more ||= Saxon::S9API::OccurrenceIndicator::ZERO_OR_MORE end def zero_or_one @zero_or_one ||= Saxon::S9API::OccurrenceIndicator::ZERO_OR_ONE end def indicator_names @indicator_names ||= (public_methods(false) - Object.public_methods - [:indicator_names]) end end end end
Version data entries
5 entries across 5 versions & 2 rubygems