Class: SixthSense::RakeTask

Inherits:
Object
  • Object
show all
Defined in:
lib/sixth_sense/rake_task.rb

Instance Method Summary collapse

Constructor Details

#initialize(name = :sixth_sense) ⇒ RakeTask

Returns a new instance of RakeTask.



9
10
11
12
13
14
# File 'lib/sixth_sense/rake_task.rb', line 9

def initialize(name = :sixth_sense)
  desc "Run SixthSense guardrails"
  task name do
    exit CLI.new.run(["guard"])
  end
end