Class: ViewComponent::Storybook::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- ViewComponent::Storybook::Engine
- Defined in:
- lib/view_component/storybook/engine.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.stories ⇒ Object
59 60 61 |
# File 'lib/view_component/storybook/engine.rb', line 59 def stories @stories ||= Collections::StoriesCollection.new end |
Instance Method Details
#parser ⇒ Object
54 55 56 |
# File 'lib/view_component/storybook/engine.rb', line 54 def parser @parser ||= StoriesParser.new(ViewComponent::Storybook.stories_paths) end |