クラス
- BasicObject (12)
- Encoding (48)
- Object (12)
- WIN32OLE (12)
モジュール
- Kernel (288)
キーワード
-
$ ARGV (12) -
$ CHILD _ STATUS (12) -
$ DEFAULT _ INPUT (12) -
$ DEFAULT _ OUTPUT (12) -
$ ERROR _ INFO (12) -
$ ERROR _ POSITION (12) -
$ FIELD _ SEPARATOR (12) -
$ FS (12) -
$ IGNORECASE (12) -
$ INPUT _ LINE _ NUMBER (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ LAST _ MATCH _ INFO (12) -
$ LAST _ PAREN _ MATCH (12) -
$ MATCH (12) -
$ NR (12) -
$ OFS (12) -
$ ORS (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ PID (12) -
$ POSTMATCH (12) -
$ PREMATCH (12) -
$ PROCESS _ ID (12) -
$ RS (12) - English (12)
-
NEWS for Ruby 3
. 0 . 0 (5) -
SCRIPT
_ LINES _ _ (12) -
SJIS
_ DOCOMO (12) -
SJIS
_ DoCoMo (12) -
UTF8
_ DOCOMO (12) -
UTF8
_ DoCoMo (12) - locale= (12)
-
method
_ missing (12)
検索結果
先頭5件
-
English (6006.0)
-
特殊変数 $! などに英語名の別名 ($ERROR_INFO など)をつけます。
...特殊変数 $! などに英語名の別名 ($ERROR_INFO など)をつけます。
例:
p $/ #=> "\n"
p $RS #=> nil
require 'English'
p $RS #=> "\n"... -
Encoding
:: SJIS _ DOCOMO -> Encoding (12.0) -
SJIS-DoCoMo エンコーディングです。
...亜種です。
DoCoMo の携帯電話で使われる絵文字が含まれています。
@see https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/basic/index.html,
https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/extention/index.html... -
Encoding
:: SJIS _ DoCoMo -> Encoding (12.0) -
SJIS-DoCoMo エンコーディングです。
...亜種です。
DoCoMo の携帯電話で使われる絵文字が含まれています。
@see https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/basic/index.html,
https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/extention/index.html... -
Encoding
:: UTF8 _ DOCOMO -> Encoding (12.0) -
UTF8-DoCoMo エンコーディングです。
...亜種です。
DoCoMo の携帯電話で使われる絵文字が含まれています。
@see https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/basic/index.html,
https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/extention/index.html... -
Encoding
:: UTF8 _ DoCoMo -> Encoding (12.0) -
UTF8-DoCoMo エンコーディングです。
...亜種です。
DoCoMo の携帯電話で使われる絵文字が含まれています。
@see https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/basic/index.html,
https://www.nttdocomo.co.jp/english/service/developer/make/content/pictograph/extention/index.html... -
Object
:: SCRIPT _ LINES _ _ -> Hash (12.0) -
ソースファイル別にまとめられたソースコードの各行。
...るコンパイルは対象にはなりません。
例:
require 'pp'
SCRIPT_LINES__ = {}
require 'English'
pp SCRIPT_LINES__
# => {"/usr/local/lib/ruby/1.6/English.rb"=>
# ["alias $ERROR_INFO $!\n",
# "alias $ERROR_POSITION $@\n",
#... -
BasicObject
# method _ missing(name , *args) -> object (6.0) -
呼びだされたメソッドが定義されていなかった時、Rubyインタプリタがこのメソッド を呼び出します。
...[lang]
p @data[lang][$1.to_i]
else
raise "#{lang} unknown"
end
else
super
end
end
end
dic = Foo.new({:English => %w(zero one two), :Esperanto => %w(nulo unu du)})
dic.find_2_in :Esperanto #=> "du"
//}
[注意] このメソッドを override する場合... -
Kernel
$ $ ARGV -> [String] (6.0) -
$* の別名
...$* の別名
require "English"
p $ARGV
# end of sample.rb
ruby sample.rb 31 /home/hoge/fuga.txt
#=> ["31", "/home/hoge/fuga.txt"]... -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (6.0) -
$? の別名
...$? の別名
require "English"
out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`
if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end...