Sha256: ccdc58d16d1c239cfa50eebbfb8b553c04d58e6ec26bde3cf963c96150894cdc

Contents?: true

Size: 246 Bytes

Versions: 9

Compression:

Stored size: 246 Bytes

Contents

require "working_hours/duration_proxy"

module WorkingHours
  module CoreExt
    module Integer

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

    end
  end
end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
working_hours-1.5.0 lib/working_hours/core_ext/integer.rb
working_hours-1.4.1 lib/working_hours/core_ext/integer.rb
working_hours-1.4.0 lib/working_hours/core_ext/integer.rb
working_hours-1.3.2 lib/working_hours/core_ext/integer.rb
working_hours-1.3.1 lib/working_hours/core_ext/integer.rb
working_hours-1.3.0 lib/working_hours/core_ext/integer.rb
working_hours-1.2.0 lib/working_hours/core_ext/integer.rb
working_hours-1.1.4 lib/working_hours/core_ext/integer.rb
working_hours-1.1.3 lib/working_hours/core_ext/integer.rb