Sha256: 83b352aa8c5849b3f59590678b4e00c2956646a1c9dcea6f54598bc38d0b61c9

Contents?: true

Size: 246 Bytes

Versions: 1

Compression:

Stored size: 246 Bytes

Contents

module Remon
  module NumExt
    refine Integer do

      def seconds
        self
      end

      def second
        self
      end

      def minutes
        self * 60
      end

      def minute
        self * 60
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
remon-0.1.0 lib/remon/ext/num_ext.rb