# File lib/et-orbi.rb, line 55 def make_time(*a) zone = a.length > 1 ? get_tzone(a.last) : nil a.pop if zone o = a.length > 1 ? a : a.first case o when Time then make_from_time(o, zone) when Date then make_from_date(o, zone) when Array then make_from_array(o, zone) when String then make_from_string(o, zone) when Numeric then make_from_numeric(o, zone) when ::EtOrbi::EoTime then make_from_eotime(o, zone) else fail ArgumentError.new( "Cannot turn #{o.inspect} to a ::EtOrbi::EoTime instance") end end