Method: RGSS.remove_defined_method

Defined in:
lib/RGSS.rb

.remove_defined_method(scope, name) ⇒ Object



125
126
127
# File 'lib/RGSS.rb', line 125

def self.remove_defined_method(scope, name)
  scope.send(:remove_method, name) if scope.instance_methods(false).include?(name)
end