Class: ArrowFlight::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow-flight/location.rb

Class Method Summary collapse

Class Method Details

.try_convert(value) ⇒ Object



21
22
23
24
25
26
27
28
# File 'lib/arrow-flight/location.rb', line 21

def try_convert(value)
  case value
  when String
    new(value)
  else
    nil
  end
end