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.0.0.beta.9 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.8 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.7 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.6 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.5 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.4 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.3 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.2 lib/lookbook/tags/display_tag.rb
lookbook-1.5.3 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.1 lib/lookbook/tags/display_tag.rb
lookbook-1.5.2 lib/lookbook/tags/display_tag.rb
lookbook-2.0.0.beta.0 lib/lookbook/tags/display_tag.rb
lookbook-1.5.1 lib/lookbook/tags/display_tag.rb
lookbook-1.5.0 lib/lookbook/tags/display_tag.rb
lookbook-1.4.5 lib/lookbook/tags/display_tag.rb
lookbook-1.4.4 lib/lookbook/tags/display_tag.rb
lookbook-1.4.3 lib/lookbook/tags/display_tag.rb
lookbook-1.4.2 lib/lookbook/tags/display_tag.rb
lookbook-1.4.1 lib/lookbook/tags/display_tag.rb
lookbook-1.4.0 lib/lookbook/tags/display_tag.rb