Class: ReeDatetime::FindTzinfo
- Inherits:
-
Object
- Object
- ReeDatetime::FindTzinfo
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/find_tzinfo.rb
Instance Method Summary collapse
Instance Method Details
#call(name) ⇒ Object
12 13 14 |
# File 'lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/find_tzinfo.rb', line 12 def call(name) TZInfo::Timezone.get(ZONE_HUMAN_NAMES[name] || name) end |