Method: FilterTable::Factory#add_accessor
- Defined in:
- lib/utils/filter.rb
#add_accessor(method_name) ⇒ Object
235 236 237 238 239 240 241 |
# File 'lib/utils/filter.rb', line 235 def add_accessor(method_name) if method_name.nil? throw RuntimeError, "Called filter.add_delegator for resource #{@resource} with method name nil!" end @accessors.push(method_name) self end |