class Duxml::ParameterClass

represents a parameter that can be used in any element's attribute values or text content and is replaced with its value when validating an XML design

Public Class Methods

new(name, value=nil) click to toggle source

Parameter can be initialized from XML Element or Ruby args @param args [String] must be name of Parameter @param args [String|Fixnum|Float|Boolean] can be starting value of Parameter @param args [String] can be description text of Parameter

# File lib/re_dux/parameters.rb, line 13
def initialize(name, value=nil)
  @name, @value = name, value
end