42 lines
471 B
Ruby
42 lines
471 B
Ruby
|
# encoding: utf-8
|
||
|
|
||
|
module Fixture
|
||
|
class Object
|
||
|
include Memoizable
|
||
|
|
||
|
def required_arguments(foo)
|
||
|
end
|
||
|
|
||
|
def optional_arguments(foo = nil)
|
||
|
end
|
||
|
|
||
|
def test
|
||
|
'test'
|
||
|
end
|
||
|
|
||
|
def zero_arity
|
||
|
caller
|
||
|
end
|
||
|
|
||
|
def one_arity(arg)
|
||
|
end
|
||
|
|
||
|
def public_method
|
||
|
caller
|
||
|
end
|
||
|
|
||
|
protected
|
||
|
|
||
|
def protected_method
|
||
|
caller
|
||
|
end
|
||
|
|
||
|
private
|
||
|
|
||
|
def private_method
|
||
|
caller
|
||
|
end
|
||
|
|
||
|
end # class Object
|
||
|
end # module Fixture
|