Top Level Namespace

Defined Under Namespace

Modules: ActiveRecord, Enumerable, HoboSupport, Kernel Classes: Array, BlankSlate, CallIfAvailable, FalseClass, Hash, HashWithIndifferentAccess, It, Module, NilClass, Object, SafeNil, String, TrueClass

Instance Method Summary collapse

Instance Method Details

#DelegateClass(klass) ⇒ Object



73
74
75
76
77
78
79
80
81
# File 'lib/hobo_support/methodcall.rb', line 73

def DelegateClass(klass)
  c = DelegateClass_without_safe_nil(klass)
  c.class_eval do
    def _?
      self
    end
  end
  c
end

#DelegateClass_without_safe_nilObject



72
# File 'lib/hobo_support/methodcall.rb', line 72

alias DelegateClass_without_safe_nil DelegateClass