You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
■ [ruby] Seattle.rb推奨の「gem名の命名規則」 http://blog.segment7.net/articles/2010/11/15/how-to-name-gems 基本的にアンダースコアで単語を区切る 既存のgemに機能を追加するもの(autotest-growlとか)の場合のみ、ハイフンで区切る 大文字は使わない(case-insensitiveなOSのため) 最後の理由は、例えばWindows上だとrequire 'ZenTest'をrequire 'zentest'と書いても通っちゃうみたいに、初心者が意図せずプラットフォーム依存なコードを書いてしまう危険性があるからとのこと。 Rubyの標準添付ライブラリも、そろそろ命名規則を統一した方がいいんじゃないかと思ったりもする(tempfileとtmpdirとか)。 ■ [golang][book] 「はじめて
What Is YARD? YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions. Above is a highlight of the some of YARD's notable features. And of course YARD comes with muc
→ ‘gemedit’ What Gemedit lets you quickly open up the source for a gem in your favorite editor. Looking through other people’s code is a great way to learn. I often use it when a gem’s RDoc isn’t as helpful as I’d like or just want to see how someone put a library together. Gemedit just makes it easier to get to the code. Installing $ sudo gem install gemedit If you would like some basic command c
A versioning policy is merely a set of simple rules governing how version numbers are allocated. It can be very simple (e.g. the version number is a single number starting with 1 and incremented for each successive version), or it can be really strange (Knuth’s[#knuth] TeX project had version numbers: 3, 3.1, 3.14, 3.141, 3.1415; each successive version added another digit to PI). Because RubyGems
RailsTips One man, lazily posting some of the things he learns. subscribe » Google has a weather api that is dead simple to use. Just discovered that tonight so I whipped together a wrapper using HTTParty. I decided to try out Jeweler, a project by Josh Nichols, that makes creating gems a snap and it delivered. I used shoulda and fakeweb for the tests. Holy crap has making a gem that wraps a web s
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く