sig/strong_json.rbi in strong_json-1.0.0 vs sig/strong_json.rbi in strong_json-1.0.1
- old
+ new
@@ -56,8 +56,9 @@
@string: String
def initialize: (path: Type::ErrorPath) -> any
def format: -> void
def (private) format_trace: (path: Type::ErrorPath, ?index: Integer) -> void
def (private) format_aliases: (path: Type::ErrorPath, where: ::Array<String>) -> ::Array<String>
+ def (private) format_single_alias: (Symbol, ty) -> String
def (private) pretty: (ty, any, ?expand_alias: bool) -> void
def pretty_str: (ty, ?expand_alias: bool) -> ::String
end