一行控的记录 - Dream of dream - 66RPG
一行控的记录
忧雪の伤
posted @ 2011年6月03日 16:53
in Ruby
, 5318 阅读
所谓一行控,狭义上应该说是把写几行的东西变成一行吧……
广义上其实就是简洁而已……
Ruby中,提供了许多函数可以让脚本更加简洁。
for item in array
...
end
=> array.each {|item| ... }
for index in 0...array.size
...
end
=> array.each_index {|index| ... }
for count in 0...time
...
end
=> time.times {|count| ... }
for one in -time..time
for two in -time..time
...
end
end
=> (-time).step(time) {|one| (-time).step(time) {|two| ... } }
def method(*args)
...
end
=> define_method(:method) {|*args| ... }
2011年7月01日 23:02
Dave Thomas出马,一个顶俩:http://www.fepus.net/ruby1line.txt
2019年4月03日 01:05
Thanks for sharing this useful information here
2019年10月21日 21:54
terimakasih telah berbagi konten yang sangat menarik...昵称
2019年10月31日 02:25
silahkan kunjungi blog saya di http://bandarcasinoresmi.com/daftar-casino-online-terbaru/
2023年11月21日 02:53
以让脚本更加
2023年12月02日 18:33
Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work
2023年12月02日 19:19
That is why a good idea is you need to connected examine prior to producing. You can actually distribute greater distribute this way.
2023年12月02日 19:47
Hello, My name is Neha Sehgal the hottest call girl in Indore who loves to serve you the ultimate sexual pleasure to the individuals. Our female Indore escort models are available 24×7 hours at a low rate and cash payment.
2023年12月02日 20:02
Well-informed and composed content. I got such astounding data from the post. I will likewise say that the plan of the site is overall quite stacked rapidly. If you are looking for the same kind of information about bank account verification, you can read it on DIRO official website.
2023年12月02日 20:23
Our CPR courses perth refresher for individuals seeking to update their skills and knowledge in cardiopulmonary resuscitation. Our experienced instructors provide comprehensive training that meets the latest industry standards. Join us to enhance your ability to respond to emergency situations and potentially save lives.
2023年12月02日 20:40
My brother recommended I might like this website. He was entirely right. This post actually made my day. You cannot imagine just how much time I had spent for this info! Thanks!
2023年12月02日 20:49
I’m impressed, I have to admit. Truly rarely do I encounter a blog that’s both educative and entertaining, and without a doubt, you’ve hit the nail on the head. Your notion is outstanding; the pain is an element that not enough folks are speaking intelligently about. My business is happy that I stumbled across this in my search for something regarding this.
2023年12月02日 21:01
Well-informed and composed content. I got such astounding data from the post. I will likewise say that the plan of the site is overall quite stacked rapidly. If you are looking for the same kind of information about bank account verification, you can read it on DIRO official website.
2023年12月02日 21:24
Thank you for the auspicious writeup. It in fact was an amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate
2023年12月02日 22:11
Surprising article. Hypnotizing to analyze. I genuinely love to analyze such a good article. Much regarded! keep shaking.
2023年12月02日 22:27
Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work
2023年12月02日 23:04
This is really likewise an incredibly beneficial placing most of us severely encountered shopping as a result of. It truly is faraway from each and every day we have now possibility to think about something.
2023年12月02日 23:23
I don’t have time right now to write a lot, but when I returned tomorrow evening, I will explain in depth why I disagree with this article.
2023年12月02日 23:35
These you will then see the most important thing, the application provides you a website a powerful important internet page
2023年12月02日 23:37
Hello I am so delighted I located your blog, I really located you by
2023年12月02日 23:56
You make so many great points here that I read your article a couple of times. This is great content for your readers.
2023年12月02日 23:57
Do you want to start trading Bitcoin but don't know how to go about it? You're in luck today because we've put together a brilliant tool that makes cryptocurrency trading easy. Whether you are a beginner just starting out or an experienced trader looking for a tool that will give you an edge in the highly volatile crypto market, you are invited to experience the incredible features of the Bitcoin Bank Breaker app to explore.
2023年12月03日 00:10
These you will then see the most important thing, the application provides you a website a powerful important internet page
2023年12月03日 00:29
Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work
2023年12月03日 00:34
mph club® offers a wide variety of exotic car rentals in Miami ready to be driven around the beautiful sea side. Other services that we offer include chauffeur service for major events, business trips, or exciting vacation. Drive the cars you see in these pictures today
2023年12月03日 00:41
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has the same topic with your article. Thanks, great share
2023年12月03日 00:49
This specific seems to be definitely excellent. These very small facts are produced using wide range of qualifications
2023年12月03日 00:54
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has the same topic with your article. Thanks, great share
2023年12月03日 00:56
At East Anglia Optics, we understand the importance of finding the perfect optics solution. That’s why we offer a unique opportunity for our valued customers to come and experience our products firsthand. Our dedicated team is here to help you make the right choice and ensure your optics are perfectly matched to your needs
2023年12月03日 01:10
Well-informed and composed content. I got such astounding data from the post. I will likewise say that the plan of the site is overall quite stacked rapidly. If you are looking for the same kind of information about bank account verification, you can read it on DIRO official website.
2023年12月03日 01:16
In tense situations, a customer may be upset and speak quickly when reporting an incident. It is the responsibility of security to decipher what is being relayed and offer support so they feel safe and secure.
2023年12月03日 01:28
Your writing very well and provide a lot of useful information. But if you tap water more than half as compared to another article, I would definitely be great
2023年12月03日 01:31
The idea thinks fully correct. Most of smaller sized features ended up made by way of a lot of file education and learning. I adore the approval a great deal.
2023年12月03日 01:57
I’m impressed, I have to admit. Truly rarely do I encounter a blog that’s both educative and entertaining, and without a doubt, you’ve hit the nail on the head. Your notion is outstanding; the pain is an element that not enough folks are speaking intelligently about. My business is happy that I stumbled across this in my search for something regarding this.
2023年12月03日 02:01
These you will then see the most important thing, the application provides you a website a powerful important internet page
2023年12月03日 02:13
My brother recommended I might like this website. He was entirely right. This post actually made my day. You cannot imagine just how much time I had spent for this info! Thanks!
2023年12月03日 02:18
Hello! I simply wish to make a huge thumbs up to the great information you’ve here for this post. I’ll be coming back to your website to get more detailed soon.
2023年12月03日 02:36
My brother recommended I might like this website. He was entirely right. This post actually made my day. You cannot imagine just how much time I had spent for this info! Thanks!
2023年12月03日 02:45
Hello! I simply wish to make a huge thumbs up to the great information you’ve here for this post. I’ll be coming back to your website to get more detailed soon.
2023年12月03日 02:46
My brother recommended I might like this website. He was entirely right. This post actually made my day. You cannot imagine just how much time I had spent for this info! Thanks!
2024年1月19日 18:38
Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing.
2024年1月19日 20:14
I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. The sims : Discover university is now available worldwide on PC! Your dorm room is ready for you, dom't be late for your first day of class
2024年1月19日 20:47
Really i appreciate the effort you made to share the knowledge. The topic here i found was really effective to the topic which i was researching for a long time
2024年1月19日 21:32
Professional gutter cleaning company in London with over 10 years experience. We provide residential and commercial gutter cleaning, unblocking downpipes, gutter repair and soffit and fascia cleaning throughout Greater London
2024年1月19日 22:20
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks!
2024年1月19日 22:56
I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us.
2024年1月19日 23:30
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks!
2024年1月19日 23:46
This particular appears completely ideal. Each one of these small particulars are created along with large amount of history understanding. I love this a great deal
2024年1月20日 00:24
"Good article. I’m dealing with some of these issues as well..
"
2024年1月20日 01:06
Good day,your writing style is great and i love it,
2024年1月20日 01:44
The most interesting text on this interesting topic that can be found on the net ...
2024年1月20日 02:22
I appreciate you taking the time to talk about them with people.
2024年1月20日 18:47
I couldn’t have really asked for a more rewarding blog. You’re there to give excellent suggestions, going directly to the point for simple understanding of your target audience. You’re surely a terrific expert in this subject. Thank you for remaining there human beings like me.
2024年1月20日 20:34
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates
2024年1月20日 21:04
"“After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
“"
2024年1月21日 21:26
Great articles and great layout. Your blog post deserves all of the positive feedback it's been getting.
2024年1月23日 21:07
Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that
2024年1月24日 00:21
It is extremely great, even so go through the info using this deal with
2024年1月25日 16:03
카지노 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.
2024年1月25日 16:05
하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.
2024年1月26日 18:52
Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have
2024年1月26日 19:08
Trying to say thanks won't simply be adequate, for the fantasti c clarity in your written work. I will immediately snatch your rss channel to remain educated of any updates.
2024年1月26日 19:21
Wow, What an Outstanding post. I found this too much informatics.
2024年1月28日 15:15
No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!
2024年1月28日 15:18
베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다.
2024年1月28日 15:19
베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다.
2024年4月23日 16:12
블록체인개발 코인지갑개발 IT컨설팅 메스브레인팀이 항상 당신을 도울 준비가 되어 있습니다. 우리는 마음으로 가치를 창조한다는 철학을 바탕으로 일하며, 들인 노력과 시간에 부흥하는 가치만을 받습니다. 고객이 만족하지 않으면 기꺼이 환불해 드립니다.
https://xn--539awa204jj6kpxc0yl.kr/
2024年6月02日 17:59
The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/
2024年6月06日 23:39
The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/