Class: Rule

Inherits:
Object
  • Object
show all
Defined in:
lib/xmlutils/gdlcontextobjs.rb

Overview

class Rule

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, als) ⇒ Rule



138
139
140
141
142
143
144
145
# File 'lib/xmlutils/gdlcontextobjs.rb', line 138

def initialize(name, als)
  @name     = name
  @alias    = als
  @src      = nil
  @xml      = nil
  @ifMsgs   = Array.new
  @elseMsgs = Array.new
end

Instance Attribute Details

#aliasObject

Returns the value of attribute alias.



131
132
133
# File 'lib/xmlutils/gdlcontextobjs.rb', line 131

def alias
  @alias
end

#elseMsgsObject

Returns the value of attribute elseMsgs.



135
136
137
# File 'lib/xmlutils/gdlcontextobjs.rb', line 135

def elseMsgs
  @elseMsgs
end

#ifMsgsObject

Returns the value of attribute ifMsgs.



134
135
136
# File 'lib/xmlutils/gdlcontextobjs.rb', line 134

def ifMsgs
  @ifMsgs
end

#nameObject

Returns the value of attribute name.



130
131
132
# File 'lib/xmlutils/gdlcontextobjs.rb', line 130

def name
  @name
end

#srcObject

Returns the value of attribute src.



132
133
134
# File 'lib/xmlutils/gdlcontextobjs.rb', line 132

def src
  @src
end

#xmlObject

Returns the value of attribute xml.



133
134
135
# File 'lib/xmlutils/gdlcontextobjs.rb', line 133

def xml
  @xml
end