Class: NotWrapped

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

Instance Method Summary collapse

Instance Method Details

#add(a, b) ⇒ Object



29
30
31
# File 'lib/contracts-ruby2/benchmarks/wrap_test.rb', line 29

def add a, b
  a + b
end