Sha256: 93c5a4e35c4c9ad8bd277a0dea89f105b85dfebefc1abfd64f7473f79e642f3c
Contents?: true
Size: 497 Bytes
Versions: 7
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true require_relative 'parser' module Thinreports module SectionReport module Schema class Loader def initialize @parser = Schema::Parser.new end def load_from_file(filename) data = File.read(filename, encoding: 'UTF-8') load_from_data(data) end def load_from_data(data) parser.parse(data) end private attr_reader :parser end end end end
Version data entries
7 entries across 7 versions & 1 rubygems