Sha256: 5f331213ea6c89bbb053697a4921b61bd3cb0e2218b23797e3a80b869af79478
Contents?: true
Size: 701 Bytes
Versions: 21
Compression:
Stored size: 701 Bytes
Contents
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. 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
21 entries across 21 versions & 1 rubygems