Sha256: e5afdc04577fe03d47fd1ef0d04a0e7d3667eec242e7005383c96495c08e15bd
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 Bytes
Contents
module Docks module Tags class Link < Base def initialize @name = :link @synonyms = [:see] @multiline = false @multiple_allowed = true end def process(symbol) symbol.update(@name) do |links| Array(links).map { |link| OpenStruct.new name_and_parenthetical(link, :url, :caption) } end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
docks_app-0.0.3 | lib/docks/tags/link_tag.rb |
docks_app-0.0.2 | lib/docks/tags/link_tag.rb |
docks_app-0.0.1 | lib/docks/tags/link_tag.rb |