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