Exception: Camcorder::RecordingError
- Defined in:
- lib/camcorder/errors.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ RecordingError
constructor
A new instance of RecordingError.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ RecordingError
Returns a new instance of RecordingError.
7 8 9 |
# File 'lib/camcorder/errors.rb', line 7 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
6 7 8 |
# File 'lib/camcorder/errors.rb', line 6 def key @key end |
Instance Method Details
#message ⇒ Object
10 11 12 |
# File 'lib/camcorder/errors.rb', line 10 def "Recording for key #{key} has changed" end |