Sha256: 2ddbf73c223f281b9f6f3ba356414821a7907b90c3d6c559c0d5ea88f3707294

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

module ActsAsSaveable
  module Extenders

    module Saver

      def saver?
        false
      end

      def acts_as_saver(*args)
        require 'acts_as_saveable/saver'
        include ActsAsSaveable::Saver

        class_eval do
          def self.saver?
            true
          end
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_saveable-0.10.1 lib/acts_as_saveable/extenders/saver.rb