Module: Guard::AdditionalMethodsForGuard

Defined in:
lib/guard/rubycritic.rb

Instance Attribute Summary collapse

Instance Attribute Details

#paths=(value) ⇒ Object (writeonly)

This is necessary to inject new paths into the RubyCritic Command class. Otherwise we would have to create a new class instance everytime a user changed a file.



43
44
45
# File 'lib/guard/rubycritic.rb', line 43

def paths=(value)
  @paths = value
end