Sha256: 6a266312fba9948e894b0d9352b6d5862ea7b658dc6dea878c77aeb04f173070
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
module Regex DIRECTORY = File.dirname(__FILE__) # Access to PACAKGE metadata. def self.package @package ||= ( require 'yaml' YAML.load(File.new(DIRECTORY + '/regex/package.yml')) ) end # Need VRESION? You got it. def self.const_missing(name) package[name.to_s.downcase] || super(name) end # Shortcut to create a new Regex::Extractor instance. def self.new(*io) Extractor.new(*io) end end require 'regex/templates' require 'regex/extractor' require 'regex/replacer' require 'regex/command'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
regex-1.1.0 | lib/regex.rb |