Class: Merb::Global::MessageProviders::Mock
- Inherits:
-
Object
- Object
- Merb::Global::MessageProviders::Mock
- Includes:
- Base
- Defined in:
- lib/merb_global/message_providers/mock.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#create! ⇒ Object
11 12 13 |
# File 'lib/merb_global/message_providers/mock.rb', line 11 def create! nil # It's mock after all ;) end |
#localize(singular, plural, n, locale) ⇒ Object
7 8 9 |
# File 'lib/merb_global/message_providers/mock.rb', line 7 def localize(singular, plural, n, locale) n > 1 ? plural : singular end |