Class: MaimaiNet::Page::TrackResult
Instance Method Summary collapse
Methods inherited from Base
#initialize, parse, #validate!
Methods included from HelperSupport
extended, #helper_method, #method_added
Methods included from ModuleExt::MethodCache
included, #singleton_method_added
Methods included from ModuleExt::HaveClassMethods
Constructor Details
This class inherits a constructor from MaimaiNet::Page::Base
Instance Method Details
#initialize_extension ⇒ Object
263 264 265 266 267 268 269 270 |
# File 'lib/maimai_net/page.rb', line 263 def initialize_extension super start_anchor = @root.at_css('img.title') @otomodachi_block = start_anchor.at_css('~ div#vsUser > :first-child') @score_block = start_anchor.at_css('~ div:not(#vsUser):nth-of-type(1)') @breakdown_block = start_anchor.at_css('~ div:not(#vsUser):nth-of-type(2)') end |