lib/Archivist.rb in p2e_builder-0.1.5 vs lib/Archivist.rb in p2e_builder-0.1.6
- old
+ new
@@ -57,10 +57,9 @@
end
def clas_stats(option, aspect) # => grabs stats from class
page = "https://2e.aonprd.com/"+self.send("#{aspect}")[option]
blurb = Nokogiri::HTML(open(page))
- binding.pry
blurb.css("b")[2].text.match(@@clas_parser)
end
def confirm(option, aspect)
return true if self.send("#{aspect}").include?(option)
\ No newline at end of file