DRYååã«å¾ããã¨ããã»ã©ããã¹ãã³ã¼ããã©ãã©ãèªã¿ã¥ãããªãã The RSpec Bookã«çãããããã¨æã£ã¦èªãã§ã¿ããã®ã®ãããããããã¨ä¸è¨è¿°ã¹ã¦ããã ãã ã£ããè¾ãã ãã¹ãã³ã¼ããèªã¿ã¥ãããªãä¾ã示ãããã«ã1ã¤Rubyã®ã©ã¤ãã©ãªãã¤ãã£ãã å¤ã¨ãã¿ã¼ã³ãä¸ãã¦Validationãè¡ãæ©è½ãæä¾ããã©ã¤ãã©ãªã å®è£ 60è¡ããã¹ã120è¡ãªã®ã§ã詳ããè¦ãããã°ããèªããã¨æãã æè¿ä¸æ¬æãªãããã©ãã©ãã¼ã ã®å½ååãä¸ãã£ã¦ããã¨æãã avalon - A validator implementation for Ruby https://github.com/r7kamura/avalon åé·ã ãèªã¿ãããä¾ letãsubjectããã¼ã«ã«å¤æ°ãä½ãç¨ããã«çç´ã«æ¸ãããã¹ãã³ã¼ãä¾ããã¡ãã åé·ã ãèªã¿ãããããã¹ãã³ã¼ããè¦ãã°ã©ã¤ãã©ãªã®ä½¿ã
{{#tags}}- {{label}}
{{/tags}}