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.
344 345 346 |
# File 'activesupport/lib/active_support/values/time_zone.rb', line 344 def =~(re) re === name || re === MAPPING[name] end |