Exception: Thinreports::BasicReport::Errors::UnknownShapeStyleName

Inherits:
Basic
  • Object
show all
Defined in:
lib/thinreports/basic_report/core/errors.rb

Instance Method Summary collapse

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