Module: Craig::Node::Seeking

Included in:
Listing::Personals
Defined in:
lib/craig/node.rb

Instance Method Summary collapse

Instance Method Details

#seekingString

Returns:

  • (String)


84
85
86
# File 'lib/craig/node.rb', line 84

def seeking
  dom.at_css("a").text[/- ([a-zA-Z]+4[a-zA-Z]+)/, 1]
end