Module: Craig::Node::Url

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

Instance Method Summary collapse

Instance Method Details

#urlString

Returns:

  • (String)


49
50
51
# File 'lib/craig/node.rb', line 49

def url
  dom.at_css("a")[:href]
end