Skip to content

Commit

Permalink
Handle description not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Nov 6, 2016
1 parent b0fa81e commit 540f5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -41,7 +41,7 @@ def description(*args)
end
base.class_eval do
def description
self.class.description
self.class.description || self.class.to_s.split('::',2)[1]
end
end
SOURCES << base.new
Expand Down

0 comments on commit 540f5dc

Please sign in to comment.