Class: ClassType

Inherits:
Node
  • Object
show all
Defined in:
lib/steamd/nodes/class_type_node.rb

Overview

Holds a class type, if it exists This node may not always be in the tree

Instance Method Summary collapse

Instance Method Details

#valueString

The type of the class

Returns:



8
9
10
11
# File 'lib/steamd/nodes/class_type_node.rb', line 8

def value
  type = text_value.strip
  type.empty? ? nil : type
end