Class: RailsSpider::Szlawyers
- Inherits:
-
Parser
- Object
- Parser
- RailsSpider::Szlawyers
show all
- Defined in:
- lib/rails_spider/parser/szlawyers.rb
Instance Attribute Summary
Attributes inherited from Parser
#doc
Instance Method Summary
collapse
Methods inherited from Parser
#initialize, #save
Instance Method Details
#identify ⇒ Object
17
18
19
|
# File 'lib/rails_spider/parser/szlawyers.rb', line 17
def identify
doc.at_css('span#lawlist_LawerqualNo').text
end
|
#name ⇒ Object
4
5
6
|
# File 'lib/rails_spider/parser/szlawyers.rb', line 4
def name
doc.at_css('span#lawlist_LawerName').text
end
|
#office ⇒ Object
12
13
14
|
# File 'lib/rails_spider/parser/szlawyers.rb', line 12
def office
doc.at_css('span#lawlist_Enterprise').text
end
|
#sex ⇒ Object
8
9
10
|
# File 'lib/rails_spider/parser/szlawyers.rb', line 8
def sex
doc.at_css('span#lawlist_LawerSex').text
end
|
#time ⇒ Object
21
22
23
|
# File 'lib/rails_spider/parser/szlawyers.rb', line 21
def time
doc.at_css('span#lawlist_dtLawerqualNo').text
end
|