Module: LiquidPlanner::Priority

Includes:
RelativeResource
Included in:
Resources::Leaf, Resources::Tasklist
Defined in:
lib/liquidplanner/resources/priority.rb

Overview

For resources that can be prioritized

Instance Method Summary collapse

Methods included from RelativeResource

#move_relative_to

Instance Method Details

#prioritize_after(item) ⇒ Object



9
10
11
# File 'lib/liquidplanner/resources/priority.rb', line 9

def prioritize_after(item)
  move_relative_to :prioritize, :after, item
end

#prioritize_before(item) ⇒ Object



5
6
7
# File 'lib/liquidplanner/resources/priority.rb', line 5

def prioritize_before(item)
  move_relative_to :prioritize, :before, item
end