class ImportStatement
Represents an import statement
ie: import “test.steamd”
Public Instance Methods
filename_no_ext()
click to toggle source
The name not including the extension of the import file
@return [String]
# File lib/steamd/nodes/import_statement_node.rb, line 16 def filename_no_ext File.basename(name, '.*') end
name()
click to toggle source
The full name including the extension of the import file
@return [String]
# File lib/steamd/nodes/import_statement_node.rb, line 9 def name filename.text_value end
to_hash()
click to toggle source
The hash representation
@return [Hash]
# File lib/steamd/nodes/import_statement_node.rb, line 23 def to_hash { filename: filename_no_ext } end