Exception: UsageMod::FileAppendDoesntExistError
- Defined in:
- lib/Usage.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename) ⇒ FileAppendDoesntExistError
constructor
A new instance of FileAppendDoesntExistError.
Constructor Details
#initialize(filename) ⇒ FileAppendDoesntExistError
114 115 116 117 |
# File 'lib/Usage.rb', line 114 def initialize(filename) @filename = filename super("trying to append to a file that doesn't exist: '#{filename}'") end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
113 114 115 |
# File 'lib/Usage.rb', line 113 def filename @filename end |