Class: Nasl::Local
Instance Attribute Summary collapse
-
#idents ⇒ Object
readonly
Returns the value of attribute idents.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(tree, *tokens) ⇒ Local
constructor
A new instance of Local.
Methods inherited from Node
Constructor Details
#initialize(tree, *tokens) ⇒ Local
Returns a new instance of Local.
33 34 35 36 37 38 39 |
# File 'lib/nasl/parser/local.rb', line 33 def initialize(tree, *tokens) super @idents = @tokens[1] @children << :idents end |
Instance Attribute Details
#idents ⇒ Object (readonly)
Returns the value of attribute idents.
31 32 33 |
# File 'lib/nasl/parser/local.rb', line 31 def idents @idents end |