Class: Parent
- Inherits:
-
Object
- Object
- Parent
- Includes:
- Contracts::Core
- Defined in:
- lib/contracts-ruby2/spec/fixtures/fixtures.rb,
lib/contracts-ruby3/spec/fixtures/fixtures.rb
Overview
for testing inheritance
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Contracts::Core
Instance Method Details
#double(x) ⇒ Object
421 422 423 |
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 421 def double x x * 2 end |