lib/aixm/component/timesheet.rb
Method add_to
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def add_to(builder)
builder.Timsh do |timsh|
timsh.codeTimeRef(adjust_to_dst? ? 'UTCW' : 'UTC')
timsh.dateValidWef(dates.begin.to_s('%d-%m'))
timsh.dateYearValidWef(dates.begin.year) if AIXM.ofmx? && !dates.begin.yearless?