Class: WildSoNet::Streamer::Encoder
- Inherits:
-
Object
- Object
- WildSoNet::Streamer::Encoder
- Defined in:
- lib/handler.rb
Class Method Summary collapse
Class Method Details
.message(data) ⇒ Object
71 72 73 |
# File 'lib/handler.rb', line 71 def self. data data end |
.script(data) ⇒ Object
68 69 70 |
# File 'lib/handler.rb', line 68 def self.script data "<script type=\"text/javascript\">parent.Streamer.handle(\"#{data}\");</script>" end |