class ActiveAccess::AttributeConventions
Constants
- MethodMatcher
- READ_MATCHERS
- WRITE_MATCHERS
Public Class Methods
reader_names(attr)
click to toggle source
# File lib/active_access/attribute_conventions.rb, line 28 def reader_names(attr) READ_MATCHERS.map { |matcher| matcher.method_name(attr) } end
writer_names(attr)
click to toggle source
# File lib/active_access/attribute_conventions.rb, line 32 def writer_names(attr) WRITE_MATCHERS.map { |matcher| matcher.method_name(attr) } end