Sha256: 653e3b788ceeb6c43c9ce4e30fe520d924df4f68b3b74173431c6dfc4b75f2dd

Contents?: true

Size: 248 Bytes

Versions: 4

Compression:

Stored size: 248 Bytes

Contents

module Rumx
  class Argument
    attr_reader :name, :type, :description

    def initialize(name, type_name, description)
      @name        = name.to_sym
      @type        = Type.find(type_name)
      @description = description
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rumx-0.0.4 lib/rumx/argument.rb
rumx-0.0.3 lib/rumx/argument.rb
rumx-0.0.2 lib/rumx/argument.rb
rumx-0.0.1 lib/rumx/argument.rb