Sha256: 3a92b3d64cfe77bd7d8694b4ffa70217ac86af03f4c198733244d55a6a1bdb13

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

Workhours::Period.class_eval do
  def initialize_with_exclude_end(wday, beginning, ending)
    initialize_without_exclude_end(wday, beginning, ending)

    @shift = Tod::Shift.new(@shift.beginning, @shift.ending, true)
  end
  alias_method_chain :initialize, :exclude_end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
appt-0.0.1.beta.3 config/initializers/workhours_patch.rb
appt-0.0.1.beta.2 config/initializers/workhours_patch.rb