class Yuuki::RunnerBase
Private Class Methods
add(*methods)
click to toggle source
# File lib/yuuki/runner.rb, line 8 def add(*methods) @runner_adds ||= [] @runner_adds |= methods end
delete(*methods)
click to toggle source
# File lib/yuuki/runner.rb, line 13 def delete(*methods) @runner_excepts ||= [] @runner_excepts |= methods end
exclude(*methods)
click to toggle source
# File lib/yuuki/runner.rb, line 25 def exclude(*methods) @runner_info ||= {} methods.each do |method| @runner_info[method] ||= {} @runner_info[method][:exclude] = true end end
priority(method, priority)
click to toggle source
# File lib/yuuki/runner.rb, line 41 def priority(method, priority) @runner_info ||= {} @runner_info[method] ||= {} @runner_info[method][:priority] = priority end
tag(method, *tags)
click to toggle source
# File lib/yuuki/runner.rb, line 18 def tag(method, *tags) @runner_info ||= {} @runner_info[method] ||= {} @runner_info[method][:tags] ||= [] @runner_info[method][:tags] |= tags end
threading(*methods)
click to toggle source
# File lib/yuuki/runner.rb, line 33 def threading(*methods) @runner_info ||= {} methods.each do |method| @runner_info[method] ||= {} @runner_info[method][:threading] = true end end