Class: DeRjs::JsonLiteral
- Inherits:
-
String
- Object
- String
- DeRjs::JsonLiteral
- Defined in:
- lib/de_rjs/jquery_generator.rb
Overview
A string that returns itself as its JSON-encoded form.
Instance Method Summary collapse
-
#as_json(options = nil) ⇒ Object
:nodoc:.
-
#encode_json(encoder) ⇒ Object
:nodoc:.
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
8 |
# File 'lib/de_rjs/jquery_generator.rb', line 8 def as_json( = nil) self end |
#encode_json(encoder) ⇒ Object
:nodoc:
9 |
# File 'lib/de_rjs/jquery_generator.rb', line 9 def encode_json(encoder) self end |