Module: Mod

Includes:
Contracts::Core
Defined in:
lib/contracts-ruby2/spec/module_spec.rb,
lib/contracts-ruby3/spec/module_spec.rb

Class Method Summary collapse

Methods included from Contracts::Core

common, extended, included

Class Method Details

.a_module_method(a) ⇒ Object



5
6
7
# File 'lib/contracts-ruby2/spec/module_spec.rb', line 5

def self.a_module_method a
  a + 1
end