エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Singin' Singletons
There’s stuff I just don’t understand. David Bowie, for instance. Or the Southern Hemisphere. But... There’s stuff I just don’t understand. David Bowie, for instance. Or the Southern Hemisphere. But nothing quite boggles my mind like Ruby’s Singleton. Because really, it’s totally unnecessary. Here’s what they want you to do with your code: require 'net/http' # first you setup your singleton class Cheat include Singleton def initialize @host = 'http://cheat.errtheblog.com/' @http = Net::HTTP.start
2010/11/22 リンク