Class: B
- Inherits:
-
Object
- Object
- B
- Includes:
- Contracts::Core
- Defined in:
- lib/contracts-ruby2/spec/fixtures/fixtures.rb,
lib/contracts-ruby3/spec/fixtures/fixtures.rb
Instance Method Summary collapse
Methods included from Contracts::Core
Instance Method Details
#bad ⇒ Object
36 37 38 |
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 36 def bad false end |
#triple(x) ⇒ Object
41 42 43 |
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 41 def triple x x * 3 end |