Module: RocketCMS::Models::Mongoid::Page

Extended by:
ActiveSupport::Concern
Defined in:
lib/rocket_cms/models/mongoid/page.rb

Instance Method Summary collapse

Instance Method Details

#regexpObject


24
25
26
# File 'lib/rocket_cms/models/mongoid/page.rb', line 24

def regexp
  has_attribute?(:qregexp) ? qregexp : read_attribute(:regexp)
end

#regexp=(value) ⇒ Object


20
21
22
# File 'lib/rocket_cms/models/mongoid/page.rb', line 20

def regexp=(value)
  self.qregexp = value
end