Sha256: 9fa7502af3550713a5421dfa875ed6b811c79078831dc46f4f9bf76ccef63b81

Contents?: true

Size: 299 Bytes

Versions: 11

Compression:

Stored size: 299 Bytes

Contents

module SocialNetworking
  # A helper for aggregating "todo" items.
  class ActionItem
    class << self
      attr_writer :source_class_name

      def for(participant)
        return [] if @source_class_name.nil?

        @source_class_name.constantize.for(participant)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
social_networking-0.11.8 app/models/social_networking/action_item.rb
social_networking-0.11.7 app/models/social_networking/action_item.rb
social_networking-0.11.6 app/models/social_networking/action_item.rb
social_networking-0.11.5 app/models/social_networking/action_item.rb
social_networking-0.11.4 app/models/social_networking/action_item.rb
social_networking-0.11.3 app/models/social_networking/action_item.rb
social_networking-0.11.2 app/models/social_networking/action_item.rb
social_networking-0.11.1 app/models/social_networking/action_item.rb
social_networking-0.11.0 app/models/social_networking/action_item.rb
social_networking-0.10.0 app/models/social_networking/action_item.rb
social_networking-0.9.3 app/models/social_networking/action_item.rb