Class: Apivore::Fragment
- Inherits:
-
Array
- Object
- Array
- Apivore::Fragment
- Defined in:
- lib/apivore/fragment.rb
Overview
This is a workaround for json-schema’s fragment validation which does not allow paths to contain forward slashes
current json-schema attempts to split('/') on a string path to produce an array.
Instance Method Summary collapse
Instance Method Details
#split(options = nil) ⇒ Object
5 6 7 |
# File 'lib/apivore/fragment.rb', line 5 def split( = nil) self end |