I want to make class extensions available to other modules/classes/files. For example:
module UsefulStuff
class Object
def blank?
respond_to?(:empty?) ? empty? : !self
end
end
end
in other class/module/file:
if string.blank? ...
What and how do I include/load/require/... to make this work?
blank?method to all objects?