Sha256: 01e3949e2da25bc7d44aceefab3c0e93397020e94e1071836e0e1b6b61fd1085

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 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='')
      @name = name.to_sym
      @description = description
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parameters-0.1.0 lib/parameters/param.rb