Class: Dustbag::BrowseNode

Inherits:
Object
  • Object
show all
Includes:
Parser::Node
Defined in:
lib/dustbag/browse_node.rb

Instance Attribute Summary

Attributes included from Parser::Node

#node, #subnodes

Instance Method Summary collapse

Methods included from Parser::Node

included, #initialize, #repeated_subnodes, #repeated_subnodes_text, #subnode, #subnode_text

Instance Method Details

#category_root?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/dustbag/browse_node.rb', line 11

def category_root?
  subnode_text('IsCategoryRoot') == '1'
end