Sha256: 7c6fad54237232f50eefeaa352c2f2b76a6bebc7254143884ada46bea9d44b87

Contents?: true

Size: 582 Bytes

Versions: 8

Compression:

Stored size: 582 Bytes

Contents

module Saxon
  module FeatureFlags
    # Helper methods to create feature restrictions in the library. To be mixed
    # in to library classes.
    module Helpers
      # specify that the method named can only run if the version constraint is satisfied
      #
      # @param method_name [Symbol] the name of the method
      # @param version_constraint [String] the version constraint (<tt>'>= 9.9'</tt>)
      def requires_saxon_version(method_name, version_constraint)
        Saxon::FeatureFlags::Version.create(self, method_name, version_constraint)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
saxon-rb-0.8.3-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.8.2-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.8.1-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.8.0-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.7.3-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.7.2-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.7.1-java lib/saxon/feature_flags/helpers.rb
saxon-rb-0.7.0-java lib/saxon/feature_flags/helpers.rb