Sha256: 01376a26a0f1c0d4bc9dd1121454b400e97c064b13c5b8fdad8d24474bbeabb1

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

module Yoda
  module Model
    module Descriptions
      class WordDescription < Base
        # @return [String]
        attr_reader :word

        # @param function [String]
        def initialize(word)
          @word = word
        end

        # @return [String]
        def title
          word
        end

        # @return [String]
        def sort_text
          word
        end

        # @return [String]
        def to_markdown
          <<~EOS
          word
          EOS
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yoda-language-server-0.6.0 lib/yoda/model/descriptions/word_description.rb
yoda-language-server-0.5.0 lib/yoda/model/descriptions/word_description.rb
yoda-language-server-0.4.0 lib/yoda/model/descriptions/word_description.rb