Exception: Tracksperanto::Tool::Lint::NonSequentialKeyframes

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tools/lint.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ NonSequentialKeyframes

Returns a new instance of NonSequentialKeyframes.



15
16
17
# File 'lib/tools/lint.rb', line 15

def initialize(args)
  @name, @last_frame, @current_frame = args
end

Instance Method Details

#messageObject



19
20
21
# File 'lib/tools/lint.rb', line 19

def message
  "A keyframe for #{@name} has been sent that comes before the previous keyframe (#{@current_frame} should NOT come after #{@last_frame})."
end