class R2OAS::Schema::FileManager

Public Class Methods

build(path, path_type = :ref)
Alias for: new
new(path, path_type = :ref) click to toggle source
# File lib/r2-oas/schema/manager/file_manager.rb, line 12
def initialize(path, path_type = :ref)
  case ::R2OAS.version
  when :v3
    @manager = V3::FileManager.new(path, path_type)
  else
    raise "Do not support version: #{::R2OAS.version}"
  end
end
Also aliased as: build