Sha256: 6a1a49e7b054b9392834ccb16382ecdadc1de39d63244f032419bbe0afa86d78

Contents?: true

Size: 243 Bytes

Versions: 9

Compression:

Stored size: 243 Bytes

Contents

require "working_hours/duration_proxy"

module WorkingHours
  module CoreExt
    module Fixnum

      def working
        WorkingHours::DurationProxy.new(self)
      end

    end
  end
end

Fixnum.send(:include, WorkingHours::CoreExt::Fixnum)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
working_hours-1.1.2 lib/working_hours/core_ext/fixnum.rb
working_hours-1.1.1 lib/working_hours/core_ext/fixnum.rb
working_hours-1.1.0 lib/working_hours/core_ext/fixnum.rb
working_hours-1.0.4 lib/working_hours/core_ext/fixnum.rb
working_hours-1.0.3 lib/working_hours/core_ext/fixnum.rb
working_hours-1.0.2 lib/working_hours/core_ext/fixnum.rb
working_hours-1.0.1 lib/working_hours/core_ext/fixnum.rb
working_hours-1.0.0 lib/working_hours/core_ext/fixnum.rb
working_hours-0.9.0 lib/working_hours/core_ext/fixnum.rb