Class: Net::Twitter::Status
- Inherits:
-
Object
- Object
- Net::Twitter::Status
show all
- Defined in:
- lib/net/twitter/status.rb
Defined Under Namespace
Classes: Feature, Features
Constant Summary
collapse
- VERSION =
'0.0.1'
Instance Method Summary
collapse
Instance Method Details
#features ⇒ Object
65
66
67
68
69
70
71
72
|
# File 'lib/net/twitter/status.rb', line 65
def features
doc = Hpricot(open('http://status.twitter.com/').read)
elements = doc.search('//div[@id="description"]//span').map do |element|
element
end
Features.new(elements)
end
|