class Regexp

Public Class Methods

json_create(o) click to toggle source
# File core/utils.rb, line 451
def self.json_create(o)
  new(o['data'])
end

Public Instance Methods

to_json(*a) click to toggle source
# File core/utils.rb, line 444
def to_json(*a)
  {
    'json_class'   => self.class.name,
    'data'         => to_s
  }.to_json(*a)
end