Sha256: 21a7651f817d0debf2a5344e854fb32f3447fef66b25405a6f21b9f632e6d728

Contents?: true

Size: 229 Bytes

Versions: 8

Compression:

Stored size: 229 Bytes

Contents

# frozen_string_literal: true

module Ruby2html
  module RailsComponents
    class LinkTo < BaseComponent
      def render(&block)
        @render.plain(@context.button_to(*@args, **@options, &block))
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby2html-1.5.8 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.7 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.6 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.5 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.4 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.3 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.2 lib/gem/ruby2html/rails_components/link_to.rb
ruby2html-1.5.1 lib/gem/ruby2html/rails_components/link_to.rb