module LiberMeliorationum::Apply

Apply a block or proc to an object and return its result

Public Instance Methods

apply(*args, &function) click to toggle source
# File lib/liber_meliorationum.rb, line 33
def apply(*args, &function)
        function.call(self, *args)
end