class ESpider::Front::TA::Daodao

Public Class Methods

new(ta_id) click to toggle source
Calls superclass method ESpider::Front::TA::TripAdvisor::new
# File lib/espider/front/ta/daodao.rb, line 5
def initialize(ta_id)
        @base_url = "http://www.daodao.com/"
        super(ta_id)
end

Public Instance Methods

rank() click to toggle source
Calls superclass method ESpider::Front::TA::TripAdvisor#rank
# File lib/espider/front/ta/daodao.rb, line 9
def rank
        ranks = super
        ranks[0...ranks.size/2]
end