ãã®è¨äºã¯ãRubyãæ¸ãã«ããã£ã¦ãããã«ãããã¯ãæ¸ããã«ãã¾ããããã追æ±ããã誰å¾ãªé£è¼ã§ããã ã ã£ã¦ããããã¯ã£ã¦æ±ããããï¼ä»®å¼æ°ã®|x|ã¨ããã¢ã¤ã Symbol#to_proc åºæ¬ä¸ã®åºæ¬ã instance method Symbol#to_proc 以ä¸ã®ãããªArrayããã£ã¦ã irb(main):003:0> arr = [:user, :entry, :article, :comment, :category] => [:user, :entry, :article, :comment, :category] åè¦ç´ ãto_sãããã£ããã irb(main):004:0> arr.map{|s| s.to_s} => ["user", "entry", "article", "comment", "category"] ã¨æ¸ããããã«ã irb(main)
{{#tags}}- {{label}}
{{/tags}}