Sha256: bcbf0036616aa60c741e7295763b8e03cd6deea403c391c961d4362dcb89e539

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

require 'parameters/param'

module Parameters
  class ClassParam < Param

    # Default value of the class parameter
    attr_accessor :value

    #
    # Creates a new ClassParam object with the specified _name_,
    # given _description_ and _value_.
    #
    def initialize(name,description='',value=nil)
      super(name,description)

      @value = value
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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