Exception: Camcorder::PlaybackError
- 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) ⇒ PlaybackError
constructor
A new instance of PlaybackError.
- #message ⇒ Object
Constructor Details
#initialize(key) ⇒ PlaybackError
Returns a new instance of PlaybackError.
30 31 32 |
# File 'lib/camcorder/errors.rb', line 30 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
29 30 31 |
# File 'lib/camcorder/errors.rb', line 29 def key @key end |
Instance Method Details
#message ⇒ Object
33 34 35 |
# File 'lib/camcorder/errors.rb', line 33 def "Cannot find key '#{key}' for playback" end |