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
rroonga-0.9.3 test-unit/sample/adder.rb
rroonga-0.9.2-x86-mingw32 test-unit/sample/adder.rb
rroonga-0.9.2-mswin32 test-unit/sample/adder.rb
rroonga-0.9.2 test-unit/sample/adder.rb
test-unit-2.0.7 sample/adder.rb
groonga-0.9.1 test-unit/sample/adder.rb
groonga-0.9.0 test-unit/sample/adder.rb
test-unit-2.0.6 sample/adder.rb
activeldap-1.2.1 test-unit/sample/adder.rb
cairo-1.8.1-x86-mswin32 test-unit/sample/adder.rb
cairo-1.8.1 test-unit/sample/adder.rb
test-unit-2.0.5 sample/adder.rb
test-unit-2.0.4 sample/adder.rb
groonga-0.0.7 test-unit/sample/adder.rb
activegroonga-0.0.7 test-unit/sample/adder.rb
activesambaldap-0.0.8 test-unit/sample/adder.rb
activeldap-1.2.0 test-unit/sample/adder.rb
ActiveSambaLdap-0.0.7 test-unit/sample/adder.rb
test-unit-2.0.3 sample/adder.rb
groonga-0.0.3 test-unit/sample/adder.rb