Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/jrec/core_ext/string.rb
Instance Method Summary collapse
Instance Method Details
#as_json ⇒ Object
8 9 10 |
# File 'lib/jrec/core_ext/string.rb', line 8 def as_json Oj.load(self) end |
#to_json ⇒ Object
5 6 7 |
# File 'lib/jrec/core_ext/string.rb', line 5 def to_json self end |