class ViewComponent::Storybook::StoryConfig::ValidationError

Attributes

story_config[R]

Public Class Methods

new(story_config) click to toggle source
Calls superclass method
# File lib/view_component/storybook/story_config.rb, line 110
def initialize(story_config)
  @story_config = story_config

  super("'#{@story_config.name}' invalid: (#{@story_config.errors.full_messages.join(', ')})")
end