Class: Regexp
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.fjson_create(object) ⇒ Object
120 121 122 |
# File 'lib/fiveruns/json/add/core.rb', line 120 def self.fjson_create(object) new(object['s'], object['o']) end |
Instance Method Details
#to_fjson ⇒ Object
124 125 126 127 128 129 130 |
# File 'lib/fiveruns/json/add/core.rb', line 124 def to_fjson(*) { 'json_class' => self.class.name, 'o' => , 's' => source, }.to_fjson end |