Exception: Thinreports::BasicReport::Errors::UnknownShapeStyleName
- Inherits:
-
Basic
- Object
- StandardError
- Basic
- Thinreports::BasicReport::Errors::UnknownShapeStyleName
- Defined in:
- lib/thinreports/basic_report/core/errors.rb
Instance Method Summary collapse
-
#initialize(style, availables) ⇒ UnknownShapeStyleName
constructor
A new instance of UnknownShapeStyleName.
Constructor Details
#initialize(style, availables) ⇒ UnknownShapeStyleName
Returns a new instance of UnknownShapeStyleName.
10 11 12 13 |
# File 'lib/thinreports/basic_report/core/errors.rb', line 10 def initialize(style, availables) super("The specified style name, '#{style}', cannot be used. " \ "The available styles are #{availables.map { |s| ":#{s}" }.join(', ')}.") end |