Exception: UnknownExtensionError

Inherits:
StandardError
  • Object
show all
Defined in:
rake_modules/tasks/spdx.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, msg = "Unknown Extension") ⇒ UnknownExtensionError

Returns a new instance of UnknownExtensionError.



8
9
10
11
# File 'rake_modules/tasks/spdx.rb', line 8

def initialize(filename, msg = "Unknown Extension")
  @filename = filename
  super(msg)
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



7
8
9
# File 'rake_modules/tasks/spdx.rb', line 7

def filename
  @filename
end