Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/localization.rb
Overview
Provides a simple pass-through localizer for RecordSelect. If you want to localize RS, you need to override this method and route it to your own system.
Instance Method Summary collapse
Instance Method Details
#rs_(string_to_localize, *args) ⇒ Object
5 6 7 |
# File 'lib/localization.rb', line 5 def rs_(string_to_localize, *args) args.empty? ? string_to_localize : (sprintf string_to_localize, *args) end |