Sha256: ea52f6becdebd18bdbad64d8054bf53cd976760798a7091028087a950c2878f3
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
# frozen_string_literal: true require_relative "base" module ERBLint module Linters module ArgumentMappers # Maps attributes in the clipboard-copy element to arguments for the ClipboardCopy component. class ClipboardCopy < Base DEFAULT_TAG = "clipboard-copy" ATTRIBUTES = %w[value].freeze def attribute_to_args(attribute) Helpers::ErbBlock.raise_if_erb_block(attribute) { value: attribute.value.to_json } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems