Sha256: d13b3fbc1cfd1d630bd17f4d7fbacdaaf259a35301d5ed9d89d7b899bf98c416

Contents?: true

Size: 204 Bytes

Versions: 44

Compression:

Stored size: 204 Bytes

Contents

module Lookbook
  class DisplayTag < YardTag
    def key
      parts.first
    end

    def value
      parts.second
    end

    def parts
      @parts ||= KeyValueTagParser.call(text)
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
lookbook-2.3.4 lib/lookbook/tags/display_tag.rb
lookbook-2.3.3 lib/lookbook/tags/display_tag.rb
lookbook-2.3.2 lib/lookbook/tags/display_tag.rb
lookbook-2.3.0 lib/lookbook/tags/display_tag.rb
lookbook-2.2.2 lib/lookbook/tags/display_tag.rb
lookbook-2.2.1 lib/lookbook/tags/display_tag.rb
lookbook-2.2.0 lib/lookbook/tags/display_tag.rb
lookbook-2.1.1 lib/lookbook/tags/display_tag.rb
lookbook-2.1.0 lib/lookbook/tags/display_tag.rb
lookbook-2.0.5 lib/lookbook/tags/display_tag.rb
lookbook-2.0.4 lib/lookbook/tags/display_tag.rb
lookbook-2.0.3 lib/lookbook/tags/display_tag.rb
lookbook-2.0.2 lib/lookbook/tags/display_tag.rb
lookbook-2.0.1 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.rc.3 lib/lookbook/tags/display_tag.rb
lookbook-1.5.5 lib/lookbook/tags/display_tag.rb
lookbook-1.5.4 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.rc.2 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.rc.1 lib/lookbook/tags/display_tag.rb