Sha256: ab3fa31acd3a8f758c8469fe9849ab0f70ede54967f2769cab2518aa988ccbbb
Contents?: true
Size: 477 Bytes
Versions: 2
Compression:
Stored size: 477 Bytes
Contents
class Dressmaker class Configuration class FileMatcher < Matcher def initialize(configuration) @configuration = configuration end def matches(pattern, &block) rule = FileRule.new(pattern, &block) configuration.rules << rule end def all(&block) rule = FileRule::All.new(&block) update_description_on_rule(rule) configuration.rules << rule end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dressmaker-0.0.3 | lib/dressmaker/configuration/file_matcher.rb |
dressmaker-0.0.2 | lib/dressmaker/configuration/file_matcher.rb |