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-3.2.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.2.beta spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.9 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.8 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.7 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.6 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.5 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.4 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.2 spec/framework_spec/app/spec/core/math/fixtures/classes.rb
rhodes-3.2.0.beta.1 spec/framework_spec/app/spec/core/math/fixtures/classes.rb