lib/rapgenius/line.rb in rapgenius-1.0.3 vs lib/rapgenius/line.rb in rapgenius-1.0.4
- old
+ new
@@ -40,10 +40,10 @@
def explanations
return nil unless @id
@explanation ||= response["annotations"].map do |annotation|
annotation["body"]["dom"]["children"].map do |node|
parse_description(node)
- end.join("")
+ end.join(" ")
end.flatten
end
alias_method :annotations, :explanations