Class: Pattern
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Pattern
- Defined in:
- lib/app/models/pattern.rb
Direct Known Subclasses
Patterns::ExDate, Patterns::ExRule, Patterns::RDate, Patterns::RRule
Instance Method Summary collapse
Instance Method Details
#owner_type=(stype) ⇒ Object
4 5 6 |
# File 'lib/app/models/pattern.rb', line 4 def owner_type=(stype) super(stype.to_s.classify.constantize.base_class.to_s) end |