Module: Craig::Node::Seller
- Included in:
- Listing::ForSale
- Defined in:
- lib/craig/node.rb
Instance Method Summary collapse
Instance Method Details
#seller ⇒ :dealer, :owner
91 92 93 94 95 |
# File 'lib/craig/node.rb', line 91 def seller node = dom.at_css(".gc") return nil unless node node.text[/(dealer|owner)/].to_sym end |