Class: Guard::DslReader

Inherits:
Dsl
  • Object
show all
Defined in:
lib/guard/dsl_reader.rb

Overview

TODO: this should probably be a base class for Dsl instead (in Guard 3.x)

Constant Summary

Constants inherited from Dsl

Guard::Dsl::WARN_INVALID_LOG_LEVEL, Guard::Dsl::WARN_INVALID_LOG_OPTIONS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Dsl

#evaluate

Constructor Details

#initializeDslReader

Returns a new instance of DslReader.



8
9
10
11
# File 'lib/guard/dsl_reader.rb', line 8

def initialize
  super
  @plugin_names = []
end

Instance Attribute Details

#plugin_namesObject (readonly)

Returns the value of attribute plugin_names.



6
7
8
# File 'lib/guard/dsl_reader.rb', line 6

def plugin_names
  @plugin_names
end

Instance Method Details

#callback(*_args, &_block) ⇒ Object



30
31
# File 'lib/guard/dsl_reader.rb', line 30

def callback(*_args, &_block)
end

#clearing(_on) ⇒ Object



48
49
# File 'lib/guard/dsl_reader.rb', line 48

def clearing(_on)
end

#directories(_directories) ⇒ Object



45
46
# File 'lib/guard/dsl_reader.rb', line 45

def directories(_directories)
end

#group(*_args) ⇒ Object



24
25
# File 'lib/guard/dsl_reader.rb', line 24

def group(*_args)
end

#guard(name, _options = {}) ⇒ Object



13
14
15
# File 'lib/guard/dsl_reader.rb', line 13

def guard(name, _options = {})
  @plugin_names << name.to_s
end

#ignore(*_regexps) ⇒ Object



33
34
# File 'lib/guard/dsl_reader.rb', line 33

def ignore(*_regexps)
end

#ignore!(*_regexps) ⇒ Object



36
37
# File 'lib/guard/dsl_reader.rb', line 36

def ignore!(*_regexps)
end

#interactor(_options) ⇒ Object



21
22
# File 'lib/guard/dsl_reader.rb', line 21

def interactor(_options)
end

#logger(_options) ⇒ Object



39
40
# File 'lib/guard/dsl_reader.rb', line 39

def logger(_options)
end

#notification(_notifier, _opts = {}) ⇒ Object

Stub everything else



18
19
# File 'lib/guard/dsl_reader.rb', line 18

def notification(_notifier, _opts = {})
end

#scope(_scope = {}) ⇒ Object



42
43
# File 'lib/guard/dsl_reader.rb', line 42

def scope(_scope = {})
end

#watch(_pattern, &_action) ⇒ Object



27
28
# File 'lib/guard/dsl_reader.rb', line 27

def watch(_pattern, &_action)
end