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
glib2-0.90.4-x86-mingw32 test-unit/sample/adder.rb
glib2-0.90.3 test-unit/sample/adder.rb
glib2-0.90.3-x86-mingw32 test-unit/sample/adder.rb
glib2-0.90.2 test-unit/sample/adder.rb
glib2-0.90.2-x86-mingw32 test-unit/sample/adder.rb
rroonga-1.0.0 test-unit/sample/adder.rb
cairo-1.8.5-x86-mingw32 test-unit/sample/adder.rb
cairo-1.8.5 test-unit/sample/adder.rb
cairo-1.8.4 test-unit/sample/adder.rb
cairo-1.8.4-x86-mingw32 test-unit/sample/adder.rb
cairo-1.8.3-x86-mingw32 test-unit/sample/adder.rb
cairo-1.8.3 test-unit/sample/adder.rb
rroonga-0.9.5-x86-mingw32 test-unit/sample/adder.rb
rroonga-0.9.5 test-unit/sample/adder.rb
test-unit-2.1.1 sample/adder.rb
test-unit-2.1.0 sample/adder.rb
activeldap-1.2.2 test-unit/sample/adder.rb
test-unit-2.0.9 sample/adder.rb
test-unit-2.0.8 sample/adder.rb
rroonga-0.9.3-x86-mingw32 test-unit/sample/adder.rb