Sha256: cbbceab3c98974926332a5f0835ec2c044f78db245bf518ee2de094e221a1f6c

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

module Seymour

  module ActsAsActivity
    extend ActiveSupport::Concern

    module ClassMethods
      def acts_as_activity
        include Distributable
        include Renderable
        yield self if block_given?
      end
      alias_method :feed_me_seymour, :acts_as_activity
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
seymour-0.0.9 lib/seymour/acts_as_activity.rb
seymour-0.0.8 lib/seymour/acts_as_activity.rb