ãã® in Ruby - å¬éãã«æ¶ãè¡ãå¶æã¬ã¼ã«ã¯ã夢ç©èªã«ãªã¢ã«ãæ±ããªãã - subtech㯠ããã¨è¦ã¦å ¨ç¶ããåãããªãã£ãã®ã§ããããã¦æãã¦ããã®ã ãã© ä»ã®ãã¼ã¸ã§ã³ã¨ããè²ã åºã¦ãã¦èªãã¦ããªãã®ã段ã ãããããªã£ã¦ããã ããã§ãæ°åãå ¥ãã¦ããªãããªãï¼ã«ãï¼ãã£ã¦ãã¦ã¿ãã¨ããä»åº¦ã¯èªããã®ã§ ã¤ãã§ã«ã¡ã¢ãæ®ãã¦ãããã¨æãã ãã¦ãããããã®ã¹ã¯ãªããã§ããã (ã¿ãã¯ã¹ãã¼ã¹2ã¤åã«ç½®ãæãã¦ãã) #!ruby -Ku class X attr_reader :a, :b def self./(a) new(a) end def self.to_s "Ã365" end def initialize(a) @a = a end def /(b) @b = b print self self end def <(o) puts " #{o}" end de
{{#tags}}- {{label}}
{{/tags}}