Sha256: 79fa0ccf95f88738d50d2e136165889445e3b0ed1625d9b5f93e8954ee99516a

Contents?: true

Size: 339 Bytes

Versions: 9

Compression:

Stored size: 339 Bytes

Contents

module UniformNotifier
  class Base
    def self.active?
      false
    end

    def self.inline_notify( message )
    end

    def self.out_of_channel_notify( message )
    end

    def self.wrap_js_association( message )
      <<-CODE
<script type="text/javascript">/*<![CDATA[*/
#{message}
/*]]>*/</script>
      CODE
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
uniform_notifier-1.5.0 lib/uniform_notifier/base.rb
uniform_notifier-1.4.0 lib/uniform_notifier/base.rb
uniform_notifier-1.3.0 lib/uniform_notifier/base.rb
uniform_notifier-1.2.0 lib/uniform_notifier/base.rb
uniform_notifier-1.1.1 lib/uniform_notifier/base.rb
uniform_notifier-1.1.0 lib/uniform_notifier/base.rb
uniform_notifier-1.0.2 lib/uniform_notifier/base.rb
uniform_notifier-1.0.1 lib/uniform_notifier/base.rb
uniform_notifier-1.0.0 lib/uniform_notifier/base.rb