Skip to content

Commit becc75b

Browse files
committed
Merge pull request Apipie#366 from krrg/master
Used inline code styling instead of html tt
2 parents b70cffd + 4dc0cc5 commit becc75b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ Adding custom validator
861861
Only basic validators are included but it is really easy to add your own.
862862
Create a new initializer with a subclass of Apipie::Validator::BaseValidator.
863863
Two methods are required to implement this - instance method
864-
<tt>validate(value)</tt> and class method
865-
<tt>build(param_description, argument, options, block)</tt>.
864+
:code:`validate(value)` and class method
865+
:code:`build(param_description, argument, options, block)`.
866866

867867
When searching for the validator +build+ method, every subclass of
868868
Apipie::Validator::BaseValidator is called. The first one that returns the

0 commit comments

Comments
 (0)