instance method
cattr_accessor
Ruby on Rails 5.2.8.1
Since v4.1.16Signature
cattr_accessor(*syms, instance_reader: true, instance_writer: true, instance_accessor: true, default: nil, &blk)
No documentation comment.
Parameters
-
symsrest -
instance_readerkey = true -
instance_writerkey = true -
instance_accessorkey = true -
defaultkey = nil -
blkblock
Alias for
Defined in activesupport/lib/active_support/core_ext/module/attribute_accessors.rb
· Improve this page
· Find usages on GitHub
Defined in Module