Sha256: bf7319e05456fd8d2b5d1d465efe19fc69e9d843ba2b4dae26d18af1c3387d51
Contents?: true
Size: 730 Bytes
Versions: 14
Compression:
Stored size: 730 Bytes
Contents
# @api public module ObjExtensions # Infopark Rails Connector enables the developer to define specific behavior for Fiona CMS # classes by using Single Table Inheritance (http://www.martinfowler.com/eaaCatalog/singleTableInheritance.html). # # If you wish to decorate the Obj model with extra behavior, you will need to add it here. # # Be careful only to use methods and classes that are part of the documented api. # Other methods and classes may change without warning. # @api public def self.enable return if Obj.respond_to? :obj_extensions_enabled Obj.class_eval do def self.obj_extensions_enabled end # Add custom extensions to the Obj model below # end end end
Version data entries
14 entries across 14 versions & 1 rubygems