eachã®é²æãæãã¦ãããgemãä½ã£ãï¼eachãã©ããããé²ãã§ããï¼warnãããï¼loggerã«åºããããã¦ãããï¼ ä¾ãã°ï¼ä½ä»¶ãããå¦çããã®ãåãããªãã£ããï¼eachã®ä¸ã§æéãããã£ããããã¨ãã¨ãã«ä¾¿å©ï¼ require 'each-with-logging' require 'open-uri' require 'nokogiri' Nokogiri(open('http://b.hatena.ne.jp/')).search('#hotentry h3 .entry-link').each_with_logging{|link| p [link['href'], open(link['href']).read.length] } eachã®ä»£ããã«ï¼each_with_loggingã«ããã¨ï¼ä»ã©ãã§ï¼ä½ããã£ã¦ã¦ï¼ã©ã®ãããé²ãã§ãããæãã¦ãããï¼ examp
{{#tags}}- {{label}}
{{/tags}}