Sha256: 82d35839e860b8a294429bb351b03b62fb776a65d566175e42531645a72905b8

Contents?: true

Size: 439 Bytes

Versions: 7

Compression:

Stored size: 439 Bytes

Contents

require 'sfrp/error'

module SFRP
  VirtualFile = Struct.new(:fmodule_uri, :file_ext, :content)
  SourceFile = Struct.new(:fmodule_uri, :content)

  class FileResolveError < CompileError
    def initialize(fmodule_uri, include_paths)
      @fmodule_uri = fmodule_uri
      @include_paths = include_paths
    end

    def message
      "cannot find '#{@fmodule_uri}' in include paths:\n" +
      @include_paths.join("\n")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sfrp-1.5.2 lib/sfrp/file.rb
sfrp-1.5.1 lib/sfrp/file.rb
sfrp-1.5.0 lib/sfrp/file.rb
sfrp-1.4.0 lib/sfrp/file.rb
sfrp-1.2.1 lib/sfrp/file.rb
sfrp-1.2.0 lib/sfrp/file.rb
sfrp-1.1.0 lib/sfrp/file.rb