Sha256: 451e5f76b3839e8d4e34533740284a69db7d94bcc4cfc72bd9e7a7db39868440

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

require "dry-struct"
require "kanji/types"

module Kanji
  class Type
    class Argument < Dry::Struct
      attribute :name, Kanji::Types::String
      attribute :type, Kanji::Types::Class
      attribute :options, Kanji::Types::Hash
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kanji-web-0.3.1 lib/kanji/type/argument.rb
kanji-web-0.3.0 lib/kanji/type/argument.rb
kanji-web-0.2.2 lib/kanji/type/argument.rb
kanji-web-0.2.1 lib/kanji/type/argument.rb
kanji-web-0.2.0 lib/kanji/type/argument.rb
kanji-web-0.1.0 lib/kanji/type/argument.rb