Module: StonePath::WorkBench

Defined in:
lib/stonepath/work_bench.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/stonepath/work_bench.rb', line 3

def self.included(base)
  base.instance_eval do
    def workbench_for(tasks, options={})
      has_many tasks, :as => :workbench
    end
  end
end