class ActionComponent::Configuration

Configuration class for ActionComponent @attr components_path [String] Components folder path (defaults to 'app/components') @attr components_path [String] Component's template file name (defaults to 'template')

Attributes

components_path[RW]
template_file_name[RW]
view_model_file_name[RW]

Public Class Methods

new() click to toggle source
# File lib/actioncomponent.rb, line 15
def initialize
  @components_path = 'app/components'
  @template_file_name = 'template'
  @view_model_file_name = 'view_model'
end