Exception: Draco::Scenes::MultipleSceneDefinitionsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/draco/scenes.rb

Overview

Internal: An error for when a scene definition was given both a block and a class.

Instance Method Summary collapse

Constructor Details

#initializeMultipleSceneDefinitionsError

Returns a new instance of MultipleSceneDefinitionsError.



8
9
10
# File 'lib/draco/scenes.rb', line 8

def initialize
  super("A scene can be defined as a class or a block, but not both.")
end