class Page
Public Class Methods
included(base)
click to toggle source
# File lib/plugins/acts_as_versioned/test/fixtures/page.rb, line 7 def self.included(base) base.cattr_accessor :feeling_good base.feeling_good = true base.belongs_to :author base.belongs_to :revisor, :class_name => 'Author' end
Public Instance Methods
feeling_good?()
click to toggle source
# File lib/plugins/acts_as_versioned/test/fixtures/page.rb, line 14 def feeling_good? @@feeling_good == true end