instance method
value=
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
value=(v)
No documentation comment.
Parameters
-
vreq
Source
# File activesupport/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
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/active_record/store_procs.rb line 24
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Backend::ActiveRecord::StoreProcs