Top Level Namespace

Defined Under Namespace

Modules: ActiveRecord, Enumerable, Generators, 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



94
95
96
97
98
99
100
101
102
# File 'lib/hobo_support/methodcall.rb', line 94

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

#DelegateClass_without_safe_nilObject



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

alias DelegateClass_without_safe_nil DelegateClass