Sha256: 5e8c20bf1cd45c48add3d9a929329aef614a84855873f252b58a126c2ea7c1c6

Contents?: true

Size: 256 Bytes

Versions: 142

Compression:

Stored size: 256 Bytes

Contents

# Author:: Nathaniel Talbott.
# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
# License:: Ruby license.

class Adder
  def initialize(number)
    @number = number
  end
  def add(number)
    return @number + number
  end
end

Version data entries

142 entries across 126 versions & 14 rubygems

Version Path
ruby-compiler-0.1.1 vendor/ruby/sample/testunit/adder.rb
test-unit-3.1.3 sample/adder.rb
test-unit-3.1.2 sample/adder.rb
test-unit-3.1.1 sample/adder.rb
test-unit-3.1.0 sample/adder.rb
test-unit-3.0.9 sample/adder.rb
test-unit-3.0.8 sample/adder.rb
test-unit-3.0.7 sample/adder.rb
test-unit-3.0.6 sample/adder.rb
test-unit-3.0.5 sample/adder.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/test-unit-2.4.8/sample/adder.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/test-unit-2.4.8/sample/adder.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/test-unit-2.4.8/sample/adder.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/test-unit-2.4.8/sample/adder.rb
test-unit-3.0.4 sample/adder.rb
test-unit-3.0.3 sample/adder.rb
test-unit-3.0.2 sample/adder.rb
test-unit-3.0.1 sample/adder.rb
test-unit-3.0.0 sample/adder.rb
candlepin-api-0.4.0 bundle/ruby/gems/test-unit-2.5.0/sample/adder.rb