method
to_json
v1_9_2_180 -
Show latest stable
- Class:
Regexp
to_json(*)public
No documentation available.
# File ext/json/lib/json/add/core.rb, line 141
def to_json(*)
{
JSON.create_id => self.class.name,
'o' => options,
's' => source,
}.to_json
end