Sha256: 532b701fc96e24d4e61124b94f2df180053c6753349748f6e7c2c546c6c53d93

Contents?: true

Size: 366 Bytes

Versions: 7

Compression:

Stored size: 366 Bytes

Contents

module Parameters
  class Param

    # Name of parameter
    attr_reader :name

    # Description of parameter
    attr_reader :description

    #
    # Creates a new Param object with the specified _name_ and the given
    # _description_.
    #
    def initialize(name,description=nil)
      @name = name.to_sym
      @description = description
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
parameters-0.1.7 lib/parameters/param.rb
parameters-0.1.4 lib/parameters/param.rb
parameters-0.1.3 lib/parameters/param.rb
parameters-0.1.1 lib/parameters/param.rb
parameters-0.1.2 lib/parameters/param.rb
parameters-0.1.5 lib/parameters/param.rb
parameters-0.1.6 lib/parameters/param.rb