Class: Dustbag::CustomerReviews
- Inherits:
-
Object
- Object
- Dustbag::CustomerReviews
- Includes:
- Parser::Node
- Defined in:
- lib/dustbag/customer_reviews.rb
Instance Attribute Summary
Attributes included from Parser::Node
Instance Method Summary collapse
Methods included from Parser::Node
included, #initialize, #repeated_subnodes, #repeated_subnodes_text, #subnode, #subnode_text
Instance Method Details
#any? ⇒ Boolean
7 8 9 |
# File 'lib/dustbag/customer_reviews.rb', line 7 def any? subnode_text('HasReviews') == 'true' end |