diff --git a/lib/nori/string_with_attributes.rb b/lib/nori/string_with_attributes.rb index a93d9de..10dcf57 100644 --- a/lib/nori/string_with_attributes.rb +++ b/lib/nori/string_with_attributes.rb @@ -3,5 +3,9 @@ class StringWithAttributes < String attr_accessor :attributes + def as_json + to_s + end + end end