Method: ForemanPatch::Cycle#running?

Defined in:
app/models/foreman_patch/cycle.rb

#running?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'app/models/foreman_patch/cycle.rb', line 35

def running?
  start_date <= Date.current and end_date >= Date.current
end