<body bgcolor="white"> Click <a href="html/index.html">here</a> for a non-frames version of this page. </body>
Dr. Nic is the CEO and founder of Stark & Wayne. He previously served as both VP of Technology and VP of Engineering at Engine Yard. He discovered Cloud Foundry in 2011, and launched Stark & Wayne in 2012 to help the enterprise world with successfully running application container platforms. Dr Nic is a heavy user and evangelist of Cloud Foundry, Kubernetes, Rancher, Concourse CI, and BOSH. He is
第ä¸åå http://journal.mycom.co.jp/articles/2006/12/22/wirble/ irb(1)ã«ã¯æ¡å¼µã»ããã¨ãã¦Wirbleã¨ããããã±ã¼ã¸ãç¨æããã¦ããã®ã ããåããã±ã¼ã¸ã使ãã¨ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«ã«è²ãã¤ãããã«ãªãã»ããè£å®å ¥åãå¹ãããã«ãªããªã©ä¾¿å©ã ãå°æã¨ãã¦ç¥ã£ã¦ããã¦æã¯ãªãã®ã§ãç´¹ä»ãã¦ãããã¨ãããã ã¨ããããã§ï¼ç´¹ä»ã¯Linuxã®ã·ã§ã«ç«¯æ«ã ã£ããï¼Windowsã®ã³ãã³ãããã³ããã¨Windwos PowerShellã§ã使ãããã©ãã試ãã¦ã¿ãï¼ åèè¨äºã®ã¨ããã«Wirbleãã¤ã³ã¹ãã¼ã«ãã¦.irbrcãä½æããï¼ ãã®éï¼ãã¼ã ãã£ã¬ã¯ããªãåãããªãã£ãã®ã§ä»¥ä¸ã®ããã«ãã¦ç°å¢å¤æ°ã調ã¹ã¦ï¼ããã£ã½ãHOMEPATHã«.irbrcãä½æï¼ ruby -r 'pp' -e 'pp ENV'ããã¦ï¼ã¨ããããir
â [ruby] irbã使ãåã«ãã¦ããã¹ã3ã¤(+α)ã®è¨å® Rubyã§è©¦è¡é¯èª¤ããªããéçºãããã¨ãã«ã¯irbã使ãã®ã便å©ã§ãã ä»æ¥ã¯irbãããã«ä¾¿å©ã«ããè¨å®ãããã¤ãç´¹ä»ãã¾ãã ãã¼ã ãã£ã¬ã¯ããª*1ã« .irbrc ã¨ãããã¡ã¤ã«ã ä½ããããã«è¨å®ãæ¸ãã¦ããã¾ãã (1) ã¿ãè£å® # --- completion require 'irb/completion' ã¡ã½ããåãTABãã¼ã§è£å®ã§ããããã«ãªãã¾ãã ä¾ï¼ yhara@meteor:~ % irb >> a = [] => [] >> a.ind[TAB] a.index a.indexes a.indices (2) ãªãã¡ã¬ã³ã¹æ¤ç´¢ å·oã»-ã»ï¼ï¼2nd life - Irb/TipsAndTricksããã IRBä¸ãããrãã¨ããã¡ã½ããã§refeãå¼ããããã«ãªãã¾ãã ä¾ï¼ >> r :p
Rubyã®Struct - 西尾泰åã®ã¯ã¦ãªãã¤ã¢ãªã¼ irb(main):018:0> FooBar = Struct.new(:foo, :bar) => FooBar irb(main):019:0> FooBar.new(1, 2) => #<struct FooBar foo=1, bar=2> irb(main):020:0> _.foo => 1 ãªãã ãã®ã¢ã³ã¹ã³ï¼ ã©ããããç´åã«è©ä¾¡ããããã®ãæ ¼ç´ãã¦ããã¦ããã¿ããã irb(main):001:0> _ nil irb(main):002:0> 1 1 irb(main):003:0> lambda{|x| x+1} #<Proc:0x00365b78@(irb):3> irb(main):004:0> _.call(1) 2 irb(main):005:0> _ 2 irb(main):006:0> def ho
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}