Exception: Tracksperanto::Middleware::Lint::NonSequentialKeyframes
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Tracksperanto::Middleware::Lint::NonSequentialKeyframes
- Defined in:
- lib/middleware/lint.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ NonSequentialKeyframes
constructor
A new instance of NonSequentialKeyframes.
- #message ⇒ Object
Constructor Details
#initialize(args) ⇒ NonSequentialKeyframes
Returns a new instance of NonSequentialKeyframes.
16 17 18 |
# File 'lib/middleware/lint.rb', line 16 def initialize(args) @name, @last_frame, @current_frame = args end |
Instance Method Details
#message ⇒ Object
20 21 22 |
# File 'lib/middleware/lint.rb', line 20 def "A keyframe for #{@name} has been sent that comes before the previous keyframe (#{@current_frame} should NOT come after #{@last_frame})." end |