module Frenchy::Veneer

Veneer provides a friendly face on unfriendly models, allowing your Frenchy models to appear as though they were of another class.

Public Class Methods

included(base) click to toggle source
# File lib/frenchy/veneer.rb, line 11
def self.included(base)
  if defined?(ActiveModel)
    base.extend(ClassMethods)
  end
end