Class: Vertigo::Assert
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#cond ⇒ Object
Returns the value of attribute cond.
-
#report ⇒ Object
Returns the value of attribute report.
-
#severity ⇒ Object
Returns the value of attribute severity.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(cond = nil, report = nil, severity = nil) ⇒ Assert
constructor
A new instance of Assert.
Methods inherited from AstNode
Constructor Details
#initialize(cond = nil, report = nil, severity = nil) ⇒ Assert
Returns a new instance of Assert.
281 282 283 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 281 def initialize cond=nil,report=nil,severity=nil @cond,@report,@severity=cond,report,severity end |
Instance Attribute Details
#cond ⇒ Object
Returns the value of attribute cond.
280 281 282 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 280 def cond @cond end |
#report ⇒ Object
Returns the value of attribute report.
280 281 282 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 280 def report @report end |
#severity ⇒ Object
Returns the value of attribute severity.
280 281 282 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 280 def severity @severity end |