Method: Parse::TimeZone#valid?
- Defined in:
- lib/parse/model/time_zone.rb
#valid? ⇒ Bool
Returns true or false whether the time zone exists in the ActiveSupport::TimeZone mapping.
137 138 139 |
# File 'lib/parse/model/time_zone.rb', line 137 def valid? ActiveSupport::TimeZone[to_s].present? end |