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.



10
11
12
13
# File 'rake_modules/tasks/spdx.rb', line 10

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

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



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

def filename
  @filename
end