module ADIWG::JsonSchemas::Utils
Public Class Methods
examples_dir()
click to toggle source
Return the path to examples directory.
# File lib/adiwg/json_schemas/utils.rb, line 15 def self.examples_dir File.join(File.dirname(File.expand_path(__FILE__)), '../../../examples/') end
schema_dir()
click to toggle source
Return the path to schema directory.
# File lib/adiwg/json_schemas/utils.rb, line 10 def self.schema_dir File.join(File.dirname(File.expand_path(__FILE__)), '../../../schema/') end
schema_path()
click to toggle source
Return the path to main schema.json file.
# File lib/adiwg/json_schemas/utils.rb, line 5 def self.schema_path File.join(File.dirname(File.expand_path(__FILE__)), '../../../schema/schema.json') end