Sha256: 9fb7569a7a9fb14f6944b0f8ee5c44c23a0a2ad02f48fd91e982c4bf455d6bd6
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true module IJSRails # Raised when attempting to use an inline script that can't be found. # class ScriptNotFound < BaseError # @return [String] The name of the script. # attr_reader :script # Create a new instance of this error. # # @param script [String] The name of the script. # def initialize(script) @script = script end # @return [String] The error message. # def to_s "The inline script '#{script}' could not be found." end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ijs-rails-0.2.0 | lib/ijs-rails/errors/script_not_found.rb |
ijs-rails-0.1.1 | lib/ijs-rails/errors/script_not_found.rb |
ijs-rails-0.1.0 | lib/ijs-rails/errors/script_not_found.rb |