Sha256: 0673076532d71f6eb8f55d87c2ea73939016941514d73bfa46aeb0a6a8448fec

Contents?: true

Size: 314 Bytes

Versions: 11

Compression:

Stored size: 314 Bytes

Contents

module ReaderNotifierExtensions
  
  def self.included(base)
    base.class_eval {

      def message_with_group( reader, message, sender=nil )
        message_without_group( reader, message, sender )
        @body[:group] = message.group
      end
      alias_method_chain :message, :group      

    }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-reader_group-extension-1.2.4 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.2.3 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.2.2 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.2.1 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.2.0 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.1.2 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.1.1 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.1.0 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.0.1 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-1.0.0 lib/reader_notifier_extensions.rb
radiant-reader_group-extension-0.9.0 lib/reader_notifier_extensions.rb