class TaskJuggler::LeaveAllowance

Public Class Methods

new(type, date, slots) click to toggle source
Calls superclass method
# File lib/taskjuggler/LeaveList.rb, line 68
def initialize(type, date, slots)
  unless Leave::Types[type]
    raise ArgumentError, "Unsupported leave type #{type}"
  end
  super
end