Module: Kernel

Defined in:
lib/ext/vendored_activesupport.rb

Instance Method Summary collapse

Instance Method Details

#class_eval(*args, &block) ⇒ Object

class_eval on an object acts like singleton_class.class_eval.



23
24
25
# File 'lib/ext/vendored_activesupport.rb', line 23

def class_eval(*args, &block)
  singleton_class.class_eval(*args, &block)
end