Sha256: 515ba6bd10144ea52d79007e8cb3e83ab1936ffd4981b1a2e75ea8289e21a68f

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

module Enygma
  module Extensions
    module FloatExtensions

      def to_rad
        (self * 2.0 * Math::PI) / 360.0
      end

    end
  end
end

Float.__send__(:include, Enygma::Extensions::FloatExtensions)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sander6-enygma-0.1.0 lib/enygma/extensions/float.rb
sander6-enygma-0.1.1 lib/enygma/extensions/float.rb