Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/motion/core_ext.rb
Instance Method Summary collapse
- #instance_eval(*args, &block) ⇒ Object
- #original_instance_eval ⇒ Object
- #require(*args, &block) ⇒ Object
Instance Method Details
#instance_eval(*args, &block) ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/motion/core_ext.rb', line 42 def instance_eval(*args, &block) if block_given? instance_eval &block else Lotion.warn self.class.name, :instance_eval, caller end end |
#original_instance_eval ⇒ Object
41 |
# File 'lib/motion/core_ext.rb', line 41 alias :original_instance_eval :instance_eval |