class DataMetaDom::RecAttrList

The record attribute with the ordered list of arguments. See RecAttrSet for the unordered set implementation.

Public Class Methods

new(keyword) click to toggle source

Creates an instance with the given keyword

Calls superclass method DataMetaDom::RecAttr::new
# File lib/dataMetaDom/recAttr.rb, line 186
def initialize(keyword); super(keyword) end

Public Instance Methods

getKey() click to toggle source

Builds the unique key for the list of arguments on the instance

# File lib/dataMetaDom/recAttr.rb, line 189
def getKey; @args.map { |a| a.to_s }.join(':').to_sym end
parse(src) click to toggle source

Parses the instance from the given source preserving the order of arguments, returns self for call chaining.

# File lib/dataMetaDom/recAttr.rb, line 196
def parse(src)
    recAttrParse(src)
    updateKey
    self
end
Also aliased as: recAttrParse
recAttrParse(src)

Engages the super's parse method via the alias

Alias for: parse