Sha256: 6a2a6db162fd235074a0db6b7d4ec8724200f23cc63b018cfe780e65285d0f56

Contents?: true

Size: 307 Bytes

Versions: 64

Compression:

Stored size: 307 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

64 entries across 64 versions & 1 rubygems

Version Path
rhodes-3.1.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.1.beta spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.0.beta.5 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.0.beta.4 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.0.beta.3 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.0.beta.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.1.0.beta.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.2.beta.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.8 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.7 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.6 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.5 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.4 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.3 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.1.beta.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.0.0.beta.7 spec/framework_spec/app/spec/core/math/fixtures/classes.rb