Class: Vertigo::Severity

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(type = nil) ⇒ Severity

Returns a new instance of Severity.



295
296
297
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 295

def initialize type=nil
  @type=type
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



294
295
296
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 294

def type
  @type
end