Sha256: 41da03a7f2893eacefcd109e755728ad87900081542f9f14e9385fb03e9b0fa0

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

module RailsViewComponentHelper

  def rails_view_components &block 
    builder = RailsViewComponentBuilder.new
    block.call builder
    footer  = builder.refer_to_javascripts
    footer += builder.refer_to_stylesheets
    raw footer
  end


end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_view_component-1.0.4 lib/generators/rails_view_component/templates/rails_view_component_helper.rb
rails_view_component-1.0.3 lib/generators/rails_view_component/templates/rails_view_component_helper.rb
rails_view_component-1.0.2 lib/generators/rails_view_component/templates/rails_view_component_helper.rb
rails_view_component-1.0.1 lib/generators/rails_view_component/templates/rails_view_component_helper.rb
rails_view_component-1.0.0 lib/generators/rails_view_component/templates/rails_view_component_helper.rb