If receiver is callable, calls it and returns result. If not, just returns receiver itself
@return [Object] @api private
# File lib/dm-validations/support/object.rb, line 7 7: def try_call(*args) 8: if self.respond_to?(:call) 9: self.call(*args) 10: else 11: self 12: end 13: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.