Sha256: eb2488511b627757af5a3a0f720510e09ce993342b62553ef9400440bc536af3

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

original_verbosity = $VERBOSE

$VERBOSE = nil

['Float', 'Fixnum', 'Bignum', 'Rational', 'Integer'].each do |const|
  next unless Object.const_defined?(const)

  Object.const_get(const).class_eval do
    include SI
  end
end

$VERBOSE = original_verbosity

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
si-0.2.0 lib/si/patch.rb