Class: ViewComponent::FragmentCaching::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/view_component/fragment_caching/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
# File 'lib/view_component/fragment_caching/configuration.rb', line 8

def initialize
  self.view_component_path = ::ViewComponent::Base.view_component_path
end

Instance Attribute Details

#view_component_pathsObject

Returns the value of attribute view_component_paths.



6
7
8
# File 'lib/view_component/fragment_caching/configuration.rb', line 6

def view_component_paths
  @view_component_paths
end