Sha256: 1795d573fb3dceb24e757a00e1554712ef40777be5e629995075a7892a1bd7d6

Contents?: true

Size: 297 Bytes

Versions: 19

Compression:

Stored size: 297 Bytes

Contents

class IncludesMath
  include Math
end

module MathSpecs
  class Float
    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

19 entries across 19 versions & 1 rubygems

Version Path
rhodes-2.0.0.beta11 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta10 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta9 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta8 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta7 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta6 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta4 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta3 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.5.5 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-2.0.0.beta1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.5.4 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.5.3 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.5.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.5.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.5.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.4.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.4.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-1.4.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb