Exception: UsageMod::FileOutputExistsError
- Defined in:
- lib/Usage.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename) ⇒ FileOutputExistsError
constructor
A new instance of FileOutputExistsError.
Constructor Details
#initialize(filename) ⇒ FileOutputExistsError
Returns a new instance of FileOutputExistsError.
106 107 108 109 |
# File 'lib/Usage.rb', line 106 def initialize(filename) @filename = filename super("output file exists: '#{filename}'") end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
105 106 107 |
# File 'lib/Usage.rb', line 105 def filename @filename end |