Top Level Namespace
Defined Under Namespace
Modules: Enumerable, HoboSupport, Kernel
Classes: Array, BlankSlate, CallIfAvailable, FalseClass, Hash, HashWithIndifferentAccess, It, Module, NilClass, Object, SafeNil, TrueClass
Instance Method Summary
collapse
Instance Method Details
#DelegateClass(klass) ⇒ Object
42
43
44
45
46
47
48
49
50
|
# File 'lib/hobosupport/methodcall.rb', line 42
def DelegateClass(klass)
c = DelegateClass_without_safe_nil(klass)
c.class_eval do
def _?
self
end
end
c
end
|
#DelegateClass_without_safe_nil ⇒ Object
41
|
# File 'lib/hobosupport/methodcall.rb', line 41
alias DelegateClass_without_safe_nil DelegateClass
|