Sha256: 42e6846e72faf7f43de875975ded39d7a518376a330af4c81c0bf0ea4cdaaa91

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

module SocialEngine
  module Sociable
    def is_sociable
      is_rateable
      is_voteable
      is_commentable
      is_favoriteable
      include InstanceMethods
    end
    
    module InstanceMethods
      def sociable?
        true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_engine-0.0.1 app/models/social_engine/sociable.rb