Sha256: 44f5113f80ebb7eeba3d3d064174d5811dae780ba65a77f49596078f6d4501c3
Contents?: true
Size: 284 Bytes
Versions: 10
Compression:
Stored size: 284 Bytes
Contents
module Pose module Posifier extend ActiveSupport::Concern module ClassMethods def posify &block include Pose self.pose_content = block_given? ? block : :pose_content.to_proc end end end end ActiveRecord::Base.send :include, Pose::Posifier
Version data entries
10 entries across 10 versions & 1 rubygems