Sha256: e23d74b74771f919aab09f8ac47ba0880a00d24c763247abdb4943bddcc82ea6

Contents?: true

Size: 340 Bytes

Versions: 4

Compression:

Stored size: 340 Bytes

Contents

module Yoda
  module Model
    module Parameters
      class Named < Base
        # @return [Symbol]
        attr_reader :name

        # @param name [String, Symbol]
        def initialize(name)
          @name = name.to_sym
        end

        # @return [Symbol]
        def kind
          :named
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yoda-language-server-0.10.1 lib/yoda/model/parameters/named.rb
yoda-language-server-0.10.0 lib/yoda/model/parameters/named.rb
yoda-language-server-0.9.0 lib/yoda/model/parameters/named.rb
yoda-language-server-0.8.0 lib/yoda/model/parameters/named.rb