Method: Virtus::Attribute::Accessor#public_reader?
- Defined in:
- lib/virtus/attribute/accessor.rb
#public_reader? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a Boolean indicating whether the reader method is public
87 88 89 |
# File 'lib/virtus/attribute/accessor.rb', line 87 def public_reader? [:reader] == :public end |