Sha256: b348eb37b58df2e442b261a163bc51433307e445c0d440e28c1d53618d71ec4d
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
# frozen_string_literal: true module Gashadokuro class ParsedSource def initialize(source) source.force_encoding(Encoding::UTF_8) unless source.encoding == Encoding::UTF_8 @raw_source = source @tokens = Parser.call(source) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gashadokuro-0.1.0 | lib/gashadokuro/parsed_source.rb |