Module: ModuleContractExample

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

Defined Under Namespace

Modules: AModule, AnotherModule, InheritedModule Classes: AClassWithAnotherModule, AClassWithBothModules, AClassWithInheritedModule, AClassWithModule, AClassWithoutModule

Class Method Summary collapse

Methods included from Contracts::Core

common, extended, included

Class Method Details

.hello(thing) ⇒ Object



712
713
714
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 712

def self.hello(thing)
  :world
end