Class: Wrapped

Inherits:
Object
  • Object
show all
Extended by:
Wrapper
Defined in:
lib/contracts-ruby2/benchmarks/wrap_test.rb,
lib/contracts-ruby3/benchmarks/wrap_test.rb

Instance Method Summary collapse

Methods included from Wrapper

extended, method_added

Instance Method Details

#add(a, b) ⇒ Object



36
37
38
# File 'lib/contracts-ruby2/benchmarks/wrap_test.rb', line 36

def add a, b
  a + b
end