Posted by nanki Wed, 28 Oct 2009 05:25:00 GMT Haskellã«ã¯Maybeã¢ããã¨ããã®ããã£ã¦ãã¨ã©ã¼å¦çãããªãé©å½ãªæãã«æ¸ãã¦ã¨ã¦ã便å©ããã ä¸æ¹ãå¤ãã®ããã°ã©ãã³ã°è¨èªã§ã¯ã request.mobile && request.mobile.docomo? File.open('example.txt').read rescue nil # ããã¯ããã横ç class Never instance_methods.each do |v| undef_method(v) unless %w(__id__ __send__).include?(v) end def method_missing(*args) self end def end nil end end class Maybe < Never def initialize
{{#tags}}- {{label}}
{{/tags}}