lib/timber/contexts/runtime.rb in timber-2.1.0.rc5 vs lib/timber/contexts/runtime.rb in timber-2.1.0.rc6
- old
+ new
@@ -18,10 +18,10 @@
@function = attributes[:function]
@line = attributes[:line]
@module_name = attributes[:module_name]
end
- # Builds a hash representation of containing simply objects, suitable for serialization.
+ # Builds a hash representation containing simple objects, suitable for serialization (JSON).
def as_json(_options = {})
{application: application, class_name: class_name, file: file, function: function,
line: line, module_name: module_name}
end
end
\ No newline at end of file