Class: GLib::TimeZone
- Inherits:
-
Object
- Object
- GLib::TimeZone
- Defined in:
- lib/glib2/time-zone.rb
Class Method Summary collapse
Class Method Details
.try_convert(value) ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/glib2/time-zone.rb', line 20 def try_convert(value) case value when String new(value) else nil end end |