module TryMe

Constants

VERSION

Public Instance Methods

try_me(&block) click to toggle source

Supports both || and | syntax

object.try_me { maybe_method || other_possible_method || something_else }
object.try_me { maybe_method | other_possible_method | something_else }
# File lib/try_me.rb, line 7
def try_me(&block)
  Proxy.new(self).__try_me__(&block)
end