Method: Operations.allowing

Defined in:
lib/operations.rb

.allowing(scope) ⇒ Object

Returns the operations that have scope scope



43
44
45
46
# File 'lib/operations.rb', line 43

def allowing(scope)
  return nil if scope.blank?
  operations_list.select{|operation| operation > scope}
end