Module: MarkAsLocalizable

Included in:
String, Symbol
Defined in:
lib/initializers/mark_as_localizable.rb

Overview

This is probably a REALLY bad idea…

Instance Method Summary collapse

Instance Method Details

#lObject



26
27
28
29
# File 'lib/initializers/mark_as_localizable.rb', line 26

def l
  @should_localize = true
  self
end

#should_localize?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/initializers/mark_as_localizable.rb', line 31

def should_localize?
  @should_localize == true
end