This repository has been archived on 2026-05-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tailor/lib/tailor.rb

24 lines
353 B
Ruby
Raw Permalink Normal View History

require "tailor/version"
require "tailor/GUI"
class SuperProxy
def initialize(obj)
@obj = obj
end
def method_missing(meth, *args, &blk)
@obj.class.superclass.instance_method(meth).bind(@obj).call(*args, &blk)
end
end
class Object
private
def _super
SuperProxy.new(self)
end
end
module Tailor
# Your code goes here...
end