# File lib/blankslate.rb, line 36 36: def reveal(name) 37: bound_method = nil 38: unbound_method = find_hidden_method(name) 39: fail "Don't know how to reveal method '#{name}'" unless unbound_method 40: define_method(name) do |*args| 41: bound_method ||= unbound_method.bind(self) 42: bound_method.call(*args) 43: end 44: end