Class: Rule
- Inherits:
-
Object
- Object
- Rule
- Defined in:
- lib/xmlutils/gdlcontextobjs.rb
Overview
class Rule
Instance Attribute Summary collapse
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#elseMsgs ⇒ Object
Returns the value of attribute elseMsgs.
-
#ifMsgs ⇒ Object
Returns the value of attribute ifMsgs.
-
#name ⇒ Object
Returns the value of attribute name.
-
#src ⇒ Object
Returns the value of attribute src.
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(name, als) ⇒ Rule
constructor
A new instance of Rule.
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
#alias ⇒ Object
Returns the value of attribute alias.
131 132 133 |
# File 'lib/xmlutils/gdlcontextobjs.rb', line 131 def alias @alias end |
#elseMsgs ⇒ Object
Returns the value of attribute elseMsgs.
135 136 137 |
# File 'lib/xmlutils/gdlcontextobjs.rb', line 135 def elseMsgs @elseMsgs end |
#ifMsgs ⇒ Object
Returns the value of attribute ifMsgs.
134 135 136 |
# File 'lib/xmlutils/gdlcontextobjs.rb', line 134 def ifMsgs @ifMsgs end |
#name ⇒ Object
Returns the value of attribute name.
130 131 132 |
# File 'lib/xmlutils/gdlcontextobjs.rb', line 130 def name @name end |
#src ⇒ Object
Returns the value of attribute src.
132 133 134 |
# File 'lib/xmlutils/gdlcontextobjs.rb', line 132 def src @src end |
#xml ⇒ Object
Returns the value of attribute xml.
133 134 135 |
# File 'lib/xmlutils/gdlcontextobjs.rb', line 133 def xml @xml end |