class Guard::DslReader
TODO: this should probably be a base class for Dsl
instead (in Guard
3.x)
Attributes
Public Class Methods
Source
# File lib/guard/dsl_reader.rb, line 8 def initialize super @plugin_names = [] end
Calls superclass method
Public Instance Methods
Source
# File lib/guard/dsl_reader.rb, line 30 def callback(*_args, &_block) end
Source
# File lib/guard/dsl_reader.rb, line 45 def directories(_directories) end
Source
# File lib/guard/dsl_reader.rb, line 13 def guard(name, _options = {}) @plugin_names << name.to_s end
Source
# File lib/guard/dsl_reader.rb, line 18 def notification(_notifier, _opts = {}) end
Stub everything else
Source
# File lib/guard/dsl_reader.rb, line 27 def watch(_pattern, &_action) end