Method: OpenapiContracts::Doc::Pointer.from_path
- Defined in:
- lib/openapi_contracts/doc/pointer.rb
.from_path(pathname) ⇒ Object
13 14 15 |
# File 'lib/openapi_contracts/doc/pointer.rb', line 13 def self.from_path(pathname) new pathname.to_s.split('/') end |