# File lib/facets/core/module/self/op_add.rb, line 27 def -( other ) mod = clone case other when Array subtract = instance_methods & other.collect{|m| m.to_s} when Module subtract = instance_methods & other.instance_methods(false) when String, Symbol subtract = instance_methods & [ other.to_s ] end mod.module_eval do subtract.each{|x| remove_method x } end mod end