別のキーワード
ライブラリ
- ビルトイン (322)
- csv (28)
- dbm (12)
- gdbm (12)
- matrix (38)
-
minitest
/ spec (1) -
minitest
/ unit (1) -
net
/ http (12) - nkf (12)
- openssl (120)
- pathname (18)
- pp (12)
- pstore (36)
- psych (12)
- rake (108)
- readline (36)
-
rexml
/ document (36) -
rexml
/ parsers / pullparser (24) -
rubygems
/ package / tar _ header (12) - sdbm (12)
- set (9)
- strscan (24)
- thread (14)
- thwait (12)
- win32ole (36)
クラス
- Array (16)
-
CSV
:: Row (12) -
CSV
:: Table (12) - DBM (12)
- Dir (9)
-
Encoding
:: Converter (60) - File (18)
- GDBM (12)
-
Gem
:: Package :: TarHeader (12) - Hash (12)
- IO (36)
- Matrix (38)
-
Net
:: HTTP (12) - Object (13)
- PStore (36)
- Pathname (18)
-
Psych
:: Handler (12) -
REXML
:: Elements (12) -
REXML
:: Entity (12) -
REXML
:: Parsers :: PullParser (24) -
REXML
:: Text (12) -
Rake
:: InvocationChain (60) -
Rake
:: InvocationChain :: EmptyInvocationChain (36) - SDBM (12)
- Set (12)
- String (12)
- StringScanner (24)
- Symbol (12)
-
Thread
:: Queue (58) -
Thread
:: SizedQueue (44) - ThreadsWait (12)
-
WIN32OLE
_ VARIANT (12)
モジュール
- FileTest (30)
- GC (6)
- Kernel (12)
-
MiniTest
:: Assertions (1) -
OpenSSL
:: SSL (120) - Rake (12)
-
WIN32OLE
:: VARIANT (24)
オブジェクト
- ENV (12)
-
Readline
:: HISTORY (36)
キーワード
- EMPTY (12)
-
EMPTY
_ MARSHAL _ CHECKSUM (12) -
EMPTY
_ MARSHAL _ DATA (12) -
EMPTY
_ STRING (12) -
EMPTY
_ TASK _ ARGS (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 0 . 0 (5) - NKF (12)
-
OP
_ DONT _ INSERT _ EMPTY _ FRAGMENTS (12) -
OP
_ MICROSOFT _ BIG _ SSLV3 _ BUFFER (12) -
OP
_ MICROSOFT _ SESS _ ID _ BUG (12) -
OP
_ MSIE _ SSLV2 _ RSA _ PADDING (12) -
OP
_ NETSCAPE _ CHALLENGE _ BUG (12) -
OP
_ NETSCAPE _ REUSE _ CIPHER _ CHANGE _ BUG (12) -
OP
_ SSLEAY _ 080 _ CLIENT _ DH _ BUG (12) -
OP
_ SSLREF2 _ REUSE _ CERT _ TYPE _ BUG (12) -
OP
_ TLS _ BLOCK _ PADDING _ BUG (12) -
OP
_ TLS _ D5 _ BUG (12) -
VT
_ EMPTY (12) -
VT
_ NULL (12) - antisymmetric? (7)
- append (36)
-
assert
_ empty (1) -
cgi
/ session (12) - close (10)
-
close
_ on _ empty _ response (12) - deq (24)
- empty (24)
- empty? (278)
- eos? (12)
-
executable
_ real? (12) -
has
_ next? (12) - length (12)
- matches? (12)
- member? (24)
-
must
_ be _ empty (1) -
next
_ wait (6) - pop (24)
- pp (12)
-
pretty
_ print _ cycle (12) -
primitive
_ convert (48) -
primitive
_ errinfo (12) - read (36)
-
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) - shift (24)
- size (12)
-
skew
_ symmetric? (7) -
to
_ csv (4) -
to
_ s (24) -
verify
_ compaction _ references (6) - warn (12)
- zero? (27)
- 制御構造 (12)
検索結果
-
NKF (24.0)
-
nkf(Network Kanji code conversion Filter, https://osdn.net/projects/nkf/) を Ruby から使うためのモジュールです。
...=> "JIS",
NKF::EUC => "EUC",
NKF::SJIS => "SJIS",
NKF::UTF8 => "UTF8",
NKF::BINARY => "BINARY",
NKF::ASCII => "ASCII",
NKF::UNKNOWN => "UNKNOWN",
}
while file = ARGV.shift
str = open(file) {|io| io.gets(nil) }
printf "%-10s ", file
if str.nil?
puts "EMPTY......‘’“”()[]{}〈〉+−=<>$%#&*@
-Z1 X0208空白(いわゆる全角空白)を ASCII の空白に変換する
-Z2 X0208空白(いわゆる全角空白)を ASCII の空白2つに変換する
-Z3 X0208の>、<、”、&、を '>', '<', '"......--fb-skip です。
--prefix <escape character><target character>..
Shift_JIS への変換時に、<target character>に指定した文字が2バイト目に
現われた場合に<escape character>を付加します。<target character>は複数指定できます。
例えば、--pref... -
NEWS for Ruby 3
. 0 . 0 (18.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...o keywords.
16166
//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]
pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}
* Arguments forwarding (`...`) now supports leading arguments.
16378
//......ENTAL]
* `=>` is added. It can be used like a rightward assignment.
17260
* `in` is changed to return `true` or `false`. 17371
//emlist{
0 => a
p a #=> 0
{b: 0, c: 1} => {b:}
p b #=> 0
//}
//emlist{
# version 3.0
0 in 1 #=> false
# version 2.7
0 in 1 #=> raise NoMatchingP......ead of
a warning.
== Command line options
=== `--help` option
When the environment variable `RUBY_PAGER` or `PAGER` is present and has
a non-empty value, and the standard input and output are tty, the `--help`
option shows the help message via the pager designated by the value.
16754
=== `--... -
制御構造 (18.0)
-
制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END
...めとする制御構造をクラス設計者が定義する事が出来るものです.
=== 条件分岐
====[a:if] if
//emlist[例][ruby]{
if age >= 12 then
print "adult fee\n"
else
print "child fee\n"
end
gender = if foo.gender == "male" then "male" else "female" end
//}
文法:......り強力なパターンマッチ構文を提供しています。
//emlist[][ruby]{
case {a: 1, b: 2, c: 3}
in a: Integer => m
"matched: #{m}"
else
"not matched"
end
# => "matched: 1"
//}
パターンマッチ構文についてはspec/pattern_matchingで説明しています。
=== 繰り返......はその引数になります。
====[a:next] next
//emlist[例][ruby]{
# 空行を捨てるcat
ARGF.each_line do |line|
next if line.strip.empty?
print line
end
//}
文法:
next
next val
nextはもっとも内側のループの次の繰り返しにジャンプしま... -
NEWS for Ruby 2
. 5 . 0 (12.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...引数を追加しました 13056
* Dir.chdir (ブロックなしで呼び出した場合), Dir.open, Dir.new, Dir.mkdir, Dir.rmdir,
Dir.empty? はGVLを解放するようになりました
* Dir.children を追加 11302
* Dir.each_child を追加 11302
* Enumerable
* Enume......ました 14133
* Numeric
* Numeric#step は > で0と比較できない引数が与えられたときcoerce内部で発生したエラーを隠蔽しないようになりました。
7688
* 数値の比較メソッド(<,<=,>=,>)は、coerceメソッドで発生した例外を隠蔽......43
* Range
* Range.new no longer hides exceptions when comparing begin and
end with #<=> and raise a "bad value for range" ArgumentError
but instead lets the exception from the #<=> call go through.
7688
* Regexp
* Onigmo 6.1.3-669ac9997619954c298da971fcfacccf36909d0... -
ruby 1
. 8 . 3 feature (12.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...ruby 1.8.3 feature
*((<ruby 1.8 feature>))
*((<ruby 1.8.2 feature>))
ruby 1.8.2 から ruby 1.8.3 までの変更点です。
掲載方針
*バグ修正の影響も含めて動作が変わるものを収録する。
*単にバグを直しただけのものは収録しない。
*ライブラリ......ap4r-1.5.5がruby-1.8.3にbundleされています。
* ((<URL:http://dev.ctor.org/soap4r/wiki/Changes-154>))
* ((<URL:http://dev.ctor.org/soap4r/wiki/Changes-155>))
== 1.8.2 (2004-12-25) -> 1.8.3 (2005-09-21)
=== 2005-09-19
: FileUtils.remove_entry_secure [lib] [new]
: FileUtils.remove_entry......e= [lib] [new]
=== 2005-04-10
: WIN32OLE#invoke [lib] [bug]
nil を VT_ERROR に変換して Invokeを呼び出して失敗するときには VT_EMPTYに変換して
再度 Invokeを呼び出すようにしました。
=== 2005-04-09
: rss [lib][new][compat]
複数のDublin Coreの要...