A new instance of Tasks.
Returns a new instance of Tasks.
7 8 9 10 11 12 13 14
# File 'lib/jaspec/tasks.rb', line 7 def initialize(spec_dir) namespace :spec do desc 'Execute all Jaspec specs' task :jaspec do Jaspec::Runner.run_all(File.join(Dir.pwd, spec_dir)) || exit(1) end end end