Module: Promiscuous::Publisher::Model::Base
Defined Under Namespace
Modules: ClassMethods, PromiscuousMethodsBase
Classes: PromiscuousMethods
Instance Method Summary
collapse
Instance Method Details
#promiscuous ⇒ Object
53
54
55
56
|
# File 'lib/promiscuous/publisher/model/base.rb', line 53
def promiscuous
@promiscuous ||= self.class.const_get(:PromiscuousMethods).new(self)
end
|
#valid?(*args) ⇒ Boolean
58
59
60
61
62
|
# File 'lib/promiscuous/publisher/model/base.rb', line 58
def valid?(*args)
without_promiscuous { super }
end
|