We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13a0e0c commit 43afb2aCopy full SHA for 43afb2a
README.md
@@ -896,7 +896,7 @@ get '/int' integers: { int: '45' }
896
### Custom Types and Coercions
897
898
Aside from the default set of supported types listed above, any class can be
899
-used as a type so long as an explicit coercion method is supplied. If the type
+used as a type as long as an explicit coercion method is supplied. If the type
900
implements a class-level `parse` method, Grape will use it automatically.
901
This method must take one string argument and return an instance of the correct
902
type, or raise an exception to indicate the value was invalid. E.g.,
0 commit comments