Current Path : /proc/3/cwd/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/test-unit-3.2.7/sample/ |
Current File : //proc/3/cwd/opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/test-unit-3.2.7/sample/adder.rb |
# 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