Sha256: c1069e6b3e001c2979aacdad881b07900504ddae1b710b14948c7d5db4664ca0
Contents?: true
Size: 768 Bytes
Versions: 42
Compression:
Stored size: 768 Bytes
Contents
require "guard/dsl" module Guard # TODO: this should probably be a base class for Dsl instead (in Guard 3.x) class DslReader < Dsl attr_reader :plugin_names def initialize super @plugin_names = [] end def guard(name, _options = {}) @plugin_names << name.to_s end # Stub everything else def notification(_notifier, _opts = {}) end def interactor(_options) end def group(*_args) end def watch(_pattern, &_action) end def callback(*_args, &_block) end def ignore(*_regexps) end def ignore!(*_regexps) end def logger(_options) end def scope(_scope = {}) end def directories(_directories) end def clearing(_on) end end end
Version data entries
42 entries across 42 versions & 10 rubygems