Sha256: 1cd721b268cf19fb96fdd2c6859c6c53f9fccedb323ddd0a06f4e379036a378b

Contents?: true

Size: 373 Bytes

Versions: 77

Compression:

Stored size: 373 Bytes

Contents

# Require this file to use any of the bundled Citrus grammars.
#
#     require 'citrus/grammars'
#     Citrus.require 'uri'
#
#     match = UniformResourceIdentifier.parse(uri_string)
#     # => #<Citrus::Match ... >

require 'citrus'

grammars = ::File.expand_path(::File.join('..', 'grammars'), __FILE__)
$LOAD_PATH.unshift(grammars) unless $LOAD_PATH.include?(grammars)

Version data entries

77 entries across 77 versions & 2 rubygems

Version Path
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/citrus-3.0.2/lib/citrus/grammars.rb