Sha256: 63ce8e178c52bad52976c1eccc77f8f045c375dac5f45c69e073c66df6fc4abd

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 Bytes

Contents

module HowAreWeDoing
  module ActsAsPrintable #:nodoc:

    def self.included(base)
      base.extend ClassMethods
    end

    module ClassMethods
      def acts_as_printable
        has_many :prints, :as => :printable

        include HowAreWeDoing::ActsAsPrintable::InstanceMethods
        extend  HowAreWeDoing::ActsAsPrintable::SingletonMethods
      end
    end

    module SingletonMethods
    end

    module InstanceMethods
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
how_are_we_doing-0.0.3 lib/acts_as_printable.rb
how_are_we_doing-0.0.2 lib/acts_as_printable.rb
how_are_we_doing-0.0.1 lib/acts_as_printable.rb