Method: ActiveSupport::TimeZone#=~

Defined in:
activesupport/lib/active_support/values/time_zone.rb

#=~(re) ⇒ Object

Compare #name and TZInfo identifier to a supplied regexp, returning true if a match is found.



342
343
344
# File 'activesupport/lib/active_support/values/time_zone.rb', line 342

def =~(re)
  re === name || re === MAPPING[name]
end