Sha256: 4c16052134f76281bc53556a7e8d2753681c7e786bf29b4d3b476847065c3655

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

# -*- ruby -*-
# frozen_string_literal: true

require 'loggability'

# The LinkParser top-level namespace.
module LinkParser
	extend Loggability


	# Release version
	VERSION = '2.3.0'


	# Loggability API -- set up a logger
	log_as :linkparser


	# Load the correct version if it's a Windows binary gem
	if RUBY_PLATFORM =~/(mswin|mingw)/i
		major_minor = RUBY_VERSION[ /^(\d+\.\d+)/ ] or
			raise "Oops, can't extract the major/minor version from #{RUBY_VERSION.dump}"

		begin
			require "#{major_minor}/linkparser_ext"
		rescue LoadError
			require 'linkparser_ext'
		end
	else
		require 'linkparser_ext'
	end

	require 'linkparser/mixins'

	require 'linkparser/dictionary'
	require 'linkparser/sentence'
	require 'linkparser/linkage'
	require 'linkparser/parseoptions'

end # class LinkParser

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linkparser-2.3.0 lib/linkparser.rb