Sha256: 759844c122ea7784d0e350dc8c7b54ea5594cd12d05dbdb6c3865ce36a74f4a6

Contents?: true

Size: 303 Bytes

Versions: 52

Compression:

Stored size: 303 Bytes

Contents

class IncludesMath
  include Math
end

module MathSpecs
  class Float < Numeric
    def initialize(value=1.0)
      @value = value
    end

    def to_f
      @value
    end
  end

  class Integer
    def to_int
      2
    end
  end

  class UserClass
  end

  class StringSubClass < String
  end

end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-7.5.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-7.4.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-7.1.17 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-6.2.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-6.0.11 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.18 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.17 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.15 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-5.5.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.3.5 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.4.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb