Sha256: cfd3de990dc730d638e4bc09f1baef110d08256d6450ab5bddaad3fa3ffbb271

Contents?: true

Size: 249 Bytes

Versions: 157

Compression:

Stored size: 249 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)
    @number + number
  end
end

Version data entries

157 entries across 126 versions & 17 rubygems

Version Path
whitelabelmachinename-ruby-sdk-3.1.6 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
whitelabelmachinename-ruby-sdk-3.1.5 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
postfinancecheckout-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
whitelabelmachinename-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
wallee-ruby-sdk-3.1.4 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
wallee-ruby-sdk-3.1.3 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
whitelabelmachinename-ruby-sdk-3.1.3 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
whitelabelmachinename-ruby-sdk-3.1.2 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
wallee-ruby-sdk-3.1.2 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
wallee-ruby-sdk-3.1.1 vendor/bundle/ruby/2.4.0/gems/test-unit-3.2.9/sample/adder.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/sample/adder.rb
whitelabelmachinename-ruby-sdk-3.0.6 vendor/bundle/ruby/2.7.0/gems/test-unit-3.2.9/sample/adder.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/sample/adder.rb
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/adder.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/adder.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/sample/adder.rb
test-unit-3.5.3 sample/adder.rb
test-unit-3.5.2 sample/adder.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/sample/adder.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/test-unit-3.5.1/sample/adder.rb