Methods

Class/Module Index [+]

Quicksearch

I18n::Backend::ActiveRecord::StoreProcs

Public Instance Methods

value=(v) click to toggle source
# File lib/active_support/vendor/i18n-0.4.1/i18n/backend/active_record/store_procs.rb, line 24
def value=(v)
  case v
  when Proc
    write_attribute(:value, v.to_ruby)
    write_attribute(:is_proc, true)
  else
    write_attribute(:value, v)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.