Implement quote feature

This commit is contained in:
kyori19
2021-01-02 17:38:40 +09:00
parent 633d175146
commit 2aa6ec14fe
64 changed files with 1068 additions and 278 deletions

View File

@@ -14,6 +14,8 @@ module ActivityPub::CaseTransform
when String
camel_lower_cache[value] ||= if value.start_with?('_:')
'_:' + value.gsub(/\A_:/, '').underscore.camelize(:lower)
elsif value.start_with?('_')
value
else
value.underscore.camelize(:lower)
end