Module | ArkanisDevelopment::SimpleLocalization::LocalizedApplication::GlobalHelpers |
In: |
lib/features/localized_application.rb
|
This module defines global helper methods and therefor will be included into the Object class.
Defines a global shortcut for the Language#app_scoped method.
# File lib/features/localized_application.rb, line 265 265: def l(*sections) 266: ArkanisDevelopment::SimpleLocalization::Language.app_scoped(*sections) 267: end
A global shortcut for the Language#app_proxy method.
# File lib/features/localized_application.rb, line 275 275: def l_proxy(*sections) 276: ArkanisDevelopment::SimpleLocalization::Language.app_proxy(*sections) 277: end
The global shortcut for the Language#with_app_scope method.
# File lib/features/localized_application.rb, line 270 270: def l_scope(*sections, &block) 271: ArkanisDevelopment::SimpleLocalization::Language.with_app_scope(*sections, &block) 272: end