Class: GraphArgsGlobalDeclarationNode
- Inherits:
-
GlobalDeclarationNode
- Object
- ASTNode
- GlobalDeclarationNode
- GraphArgsGlobalDeclarationNode
- Defined in:
- lib/ast_node.rb
Constant Summary
Constants inherited from ASTNode
ASTNode::DEFAULT_GRAPH_PROPERTIES, ASTNode::METRIC_PROC_FUNCTIONS
Instance Attribute Summary
Attributes inherited from ASTNode
#children, #graph_properties, #parent, #properties, #root_node
Instance Method Summary collapse
Methods inherited from GlobalDeclarationNode
Methods inherited from ASTNode
#add_child, #children_of_class, #config=, #default_colors, #initialize, #process_variables, #properties_to_url, #root?, #targets, #to_gdash, #url
Constructor Details
This class inherits a constructor from GlobalDeclarationNode
Instance Method Details
#compile ⇒ Object
152 153 154 155 156 157 158 159 |
# File 'lib/ast_node.rb', line 152 def compile if @raw_data =~ /--base\ (\d+)/ self.root_node.properties[:base] = $1.to_i end if @raw_data =~ /.*logarithmic.*/ self.root_node.properties[:logarithmic] = true end end |