Method: Sequel::Model::InstanceMethods#singleton_method_added
- Defined in:
- lib/sequel/model/base.rb
#singleton_method_added(meth) ⇒ Object
Clear the setter_methods cache when a method is added
1362 1363 1364 1365 |
# File 'lib/sequel/model/base.rb', line 1362 def singleton_method_added(meth) @singleton_setter_added = true if meth.to_s =~ SETTER_METHOD_REGEXP super end |