Written by Magnus Holm At RubyConf 2010 Shugo Maeda talked about Refinements: A proposal for a new feature in Ruby which allows you to easily override methods without affecting other parts of your program: module TimeExtensions refine Fixnum do def minutes; self * 60; end end end class MyApp using TimeExtensions def initialize p 2.minutes end end MyApp.new # => 120 p 2.minutes # => NoMethodError L
この記事では、整形ツールAlignに組み込みまれているマッピングを使用して、 CSV、TSVやHTML構造などの整形処理を行う方法を説明します。 (Windows, Mac) 概要 Align : Provides commands and maps to help produce aligned text, eqns, declarations, etc http://www.vim.org/scripts/script.php?script_id=294 この記事では、整形ツールAlignに組み込みまれているマッピングを使用して、 CSV、TSVやHTML構造などの整形処理を行う方法を説明します。 「 高性能なテキスト整形ツールAlignの使い方 #1 インストールから設定まで 」の続きとなる記事です。 テーブル構造の整形機能の使い方 Align にはテーブル構造の整形用に、いくつかの
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く