lib/imdb.rb in pirate-autonzb-0.4.1 vs lib/imdb.rb in pirate-autonzb-0.4.2
- old
+ new
@@ -10,10 +10,9 @@
def initialize(name, year = nil, link = nil)
@name, @year, @link = name, year, link
@coder = HTMLEntities.new
set_doc
set_id
- p @id
end
def score
if @doc && score_text = @doc.search("div.meta b").first
score_text.inner_html.match(/(.*)\/10/)[1].to_f
\ No newline at end of file