Module: Fullname::Matcher

Defined in:
lib/fullname/matcher.rb,
lib/fullname/matcher/core.rb,
lib/fullname/matcher/version.rb

Defined Under Namespace

Classes: Core

Constant Summary collapse

VERSION =
'1.0.9'

Class Method Summary collapse

Class Method Details

.create(table, mapping = {}, options = {}, &blk) ⇒ Object



7
8
9
10
11
# File 'lib/fullname/matcher.rb', line 7

def self.create(table, mapping = {}, options = {}, &blk)
  core = Core.new(table, mapping, options)
  blk.call(core) if block_given?
  core
end