Sha256: aa4b15869f8a81f568a6e1a9f1fc0fad15e9fc74745fd7da2f6c4bddb329494e

Contents?: true

Size: 148 Bytes

Versions: 6

Compression:

Stored size: 148 Bytes

Contents

require 'gb_work_day/duration'
class Integer
  def work_days(week=nil)
    GBWorkDay::Duration.new(self, week)
  end

  alias work_day work_days
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gb_work_day-0.1.0 lib/gb_work_day/core_ext/integer.rb
gb_work_day-0.0.6 lib/gb_work_day/core_ext/integer.rb
gb_work_day-0.0.4 lib/gb_work_day/core_ext/integer.rb
gb_work_day-0.0.3 lib/gb_work_day/core_ext/integer.rb
gb_work_day-0.0.2 lib/gb_work_day/core_ext/integer.rb
gb_work_day-0.0.1 lib/gb_work_day/core_ext/integer.rb