module FirstExisting
Constants
- VERSION
Public Instance Methods
first_existing(*args)
click to toggle source
# File lib/first_existing.rb, line 6 def first_existing *args args.each { |a| return a unless a.nil? } nil end