Sha256: 70c687c12e49910ca483f807206f6f10aa304a17a1bf4df6880c1ee1d5880ff0

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

module Vapid
  module Directives
    # Href directive
    class Href < Vapid::Directive
      # Render
      renders :attributes do |input|
        { href: input } if input.present?
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vapid-0.1.0 lib/vapid/directives/href.rb