Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/rdl/wrap.rb
Instance Method Summary collapse
Instance Method Details
#method_added(meth) ⇒ Object
620 621 622 623 624 625 |
# File 'lib/rdl/wrap.rb', line 620 def method_added(meth) klass = self.to_s klass = "Object" if (klass.is_a? Object) && (klass.to_s == "main") RDL::Wrap.do_method_added(self, false, klass, meth) nil end |
#singleton_method_added(meth) ⇒ Object
627 628 629 630 631 632 633 |
# File 'lib/rdl/wrap.rb', line 627 def singleton_method_added(meth) klass = self.to_s klass = "Object" if (klass.is_a? Object) && (klass.to_s == "main") sklass = RDL::Util.add_singleton_marker(klass) RDL::Wrap.do_method_added(self, true, sklass, meth) nil end |