Sha256: 5184dcb1f88665ea048090ef33ea643b3dd901318f94ed82d628ed3f3f065778

Contents?: true

Size: 231 Bytes

Versions: 8

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

module Ruby2html
  module RailsComponents
    class ButtonTo < 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/button_to.rb
ruby2html-1.5.7 lib/gem/ruby2html/rails_components/button_to.rb
ruby2html-1.5.6 lib/gem/ruby2html/rails_components/button_to.rb
ruby2html-1.5.5 lib/gem/ruby2html/rails_components/button_to.rb
ruby2html-1.5.4 lib/gem/ruby2html/rails_components/button_to.rb
ruby2html-1.5.3 lib/gem/ruby2html/rails_components/button_to.rb
ruby2html-1.5.2 lib/gem/ruby2html/rails_components/button_to.rb
ruby2html-1.5.1 lib/gem/ruby2html/rails_components/button_to.rb