Module: ModuleExample
Class Method Summary
collapse
Instance Method Summary
collapse
common, extended, included
Class Method Details
.eat(food) ⇒ Object
640
641
642
643
|
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 640
def eat(food)
nil
end
|
.hoge(str) ⇒ Object
634
635
636
|
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 634
def self.hoge(str)
"super#{str}"
end
|
Instance Method Details
#plus(a, b) ⇒ Object
629
630
631
|
# File 'lib/contracts-ruby2/spec/fixtures/fixtures.rb', line 629
def plus(a, b)
a + b
end
|