Method: LookLike::Matcher#initialize
- Defined in:
- lib/look_like/matcher.rb
#initialize(config) ⇒ Matcher
Returns a new instance of Matcher.
9 10 11 12 13 14 |
# File 'lib/look_like/matcher.rb', line 9 def initialize(config) @name = config[:name] @desc = config[:desc] @selector = config[:select] @matcher = config[:match] end |