Sha256: 4dd4d68769a0cb74375100c7d2c5c5c69e77ab5ac7643adb4b08517f56c789fc

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

require 'ruby_less/safe_class'


class Boolean
end

class Number
end

RubyLess::SafeClass.safe_literal_class Fixnum => Number, Float => Number, Symbol => Symbol, Regexp => Regexp
RubyLess::SafeClass.safe_method_for( Number,
  [:==, Number] => Boolean, [:< , Number] => Boolean, [:> , Number] => Boolean,
  [:<=, Number] => Boolean, [:>=, Number] => Boolean, [:- , Number] => Number,
  [:+ , Number] => Number,  [:* , Number] => Number,  [:/ , Number] => Number,
  [:% , Number] => Number,  [:"-@"]       => Number )

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyless-0.4.0 lib/ruby_less/basic_types.rb