class Argo::Parser
Public Class Methods
new(source)
click to toggle source
# File lib/argo/parser.rb, line 6 def initialize(source) @source = source end
Public Instance Methods
root()
click to toggle source
# File lib/argo/parser.rb, line 10 def root @root ||= SchemaFactory.new(dereferencer).build(@source) end
Private Instance Methods
dereferencer()
click to toggle source
# File lib/argo/parser.rb, line 16 def dereferencer @dereferencer ||= Dereferencer.new { root } end