Sha256: efbbc95602336d0c790f6b60e1d51891c9597a7c201cb9d1f9e86df1d83d9aa7
Contents?: true
Size: 764 Bytes
Versions: 3
Compression:
Stored size: 764 Bytes
Contents
class UniformNotifier class Base def self.active? false end def self.inline_notify( data ) return unless active? # For compatibility to the old protocol data = { :title => data } if data.is_a?(String) _inline_notify( data ) end def self.out_of_channel_notify( data ) return unless active? # For compatibility to the old protocol data = { :title => data } if data.is_a?(String) _out_of_channel_notify(data) end protected def self._inline_notify( data ) end def self._out_of_channel_notify( data ) end def self.wrap_js_association( code ) <<-CODE <script type="text/javascript">/*<![CDATA[*/ #{code} /*]]>*/</script> CODE end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.11.0 | lib/uniform_notifier/base.rb |
uniform_notifier-1.10.0 | lib/uniform_notifier/base.rb |
uniform_notifier-1.9.0 | lib/uniform_notifier/base.rb |