Class: IceCube::Schedule

Inherits:
Object
  • Object
show all
Defined in:
lib/recurrent/ice_cube_extensions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#start_date=(value) ⇒ Object (writeonly)

Sets the attribute start_date

Parameters:

  • value

    the value to set the attribute start_date to.



31
32
33
# File 'lib/recurrent/ice_cube_extensions.rb', line 31

def start_date=(value)
  @start_date = value
end

Instance Method Details

#has_same_rules?(other_schedule) ⇒ Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/recurrent/ice_cube_extensions.rb', line 33

def has_same_rules?(other_schedule)
  self.rrules == other_schedule.rrules
end