別のキーワード
ライブラリ
- ビルトイン (239)
-
cgi
/ core (22) - csv (44)
- getoptlong (11)
- json (33)
- mkmf (22)
-
net
/ http (11) -
net
/ imap (11) - open-uri (33)
- openssl (22)
- optparse (187)
- psych (44)
- rake (22)
-
rake
/ rdoctask (22) -
rake
/ testtask (33) -
rdoc
/ generator / darkfish (11) -
rdoc
/ generator / ri (11) -
rubygems
/ command (44) -
rubygems
/ specification (22) -
webrick
/ httpserver (11) -
webrick
/ httpservlet / abstract (11) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpservlet / prochandler (11)
クラス
-
ARGF
. class (33) - Array (11)
- CGI (22)
-
CSV
:: Table (22) -
Encoding
:: Converter (44) -
Gem
:: Command (44) -
Gem
:: Specification (22) - GetoptLong (11)
-
JSON
:: State (22) -
Net
:: HTTP (11) -
Net
:: IMAP (11) - Object (22)
-
OpenSSL
:: SSL :: SSLContext (22) - OptionParser (110)
-
Psych
:: Nodes :: Node (22) -
RDoc
:: Generator :: Darkfish (11) -
RDoc
:: Generator :: RI (11) -
RDoc
:: Options (770) -
Rake
:: Application (11) -
Rake
:: FileTask (11) -
Rake
:: RDocTask (22) -
Rake
:: TestTask (33) - Regexp (11)
- String (130)
- Symbol (32)
-
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (11) -
WEBrick
:: HTTPServlet :: FileHandler (11) -
WEBrick
:: HTTPServlet :: ProcHandler (11)
モジュール
-
Gem
:: InstallUpdateOptions (22) -
Gem
:: LocalRemoteOptions (99) - Kernel (33)
-
OpenURI
:: OpenRead (33) -
OptionParser
:: Arguable (77)
キーワード
- JSON (11)
-
accept
_ uri _ http (11) -
add
_ bulk _ threshold _ option (11) -
add
_ option (11) -
add
_ proxy _ option (11) -
add
_ source _ option (11) -
add
_ update _ sources _ option (11) -
all
_ one _ file (11) - both? (11)
- capitalize (16)
- capitalize! (8)
- charset (11)
- configure (11)
-
coverage
_ report (11) -
coverage
_ report= (11) - css (11)
- diagram (11)
-
do
_ OPTIONS (22) - downcase (16)
- downcase! (8)
-
dry
_ run (11) -
dry
_ run= (11) - encode (33)
- encode! (22)
- encoding (11)
- encoding= (11)
- exclude (11)
- exclude= (11)
-
extra
_ accessor _ flags (11) -
extra
_ accessors (11) - fileboxes (11)
- files (11)
-
finish
_ page _ dir (11) -
force
_ output (11) -
force
_ output= (11) -
force
_ update (11) - formatter (11)
- formatter= (11)
- generator (11)
- generator= (11)
-
get
_ instance (11) - header (11)
- help (11)
-
hyperlink
_ all (11) -
hyperlink
_ all= (11) -
image
_ format (11) -
include
_ line _ numbers (11) - initialize (22)
-
inline
_ source (11) -
install
_ update _ defaults _ str (11) -
line
_ numbers (11) -
line
_ numbers= (11) - load (11)
- local? (11)
-
main
_ page (11) -
main
_ page= (11) - markup (11)
- markup= (11)
- merge (22)
- mount (11)
- needed? (11)
-
on
_ head (11) -
on
_ tail (11) -
op
_ dir (11) -
op
_ dir= (11) -
op
_ name (11) - open (22)
-
option
_ parser (11) -
option
_ parser= (11) - order! (22)
- out (11)
-
page
_ dir (11) -
page
_ dir= (11) - parse (11)
- parse! (11)
-
parse
_ csv (11) - permute! (11)
- pipe (11)
- pipe= (11)
-
primitive
_ convert (44) - promiscuous (11)
-
psych
_ to _ yaml (11) - quiet (11)
-
rdoc
_ include (11) - read (11)
- remote? (11)
- root (11)
- root= (11)
-
ruby
_ opts= (11) -
sanitize
_ path (11) - separator (11)
-
set
_ encoding (33) -
show
_ all (11) -
show
_ all= (11) -
show
_ hash (11) - starttls (11)
-
static
_ path (11) -
static
_ path= (11) - swapcase (16)
- swapcase! (8)
-
tab
_ width (11) - template (11)
-
template
_ dir (11) -
template
_ dir= (11) - title (11)
- title= (11)
-
to
_ a (11) -
to
_ csv (22) -
to
_ s (22) -
to
_ yaml (22) -
try
_ link (22) - upcase (16)
- upcase! (8)
- ver (11)
- verbosity (11)
- verbosity= (11)
- visibility (11)
- visibility= (11)
- warn (11)
- webcvs (11)
- yaml (11)
検索結果
先頭5件
-
String
# encode!(encoding , from _ encoding , options = nil) -> self (203.0) -
self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ 与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば self のエンコーディングが使われます。変換後の self を返します。
self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ
与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば
self のエンコーディングが使われます。変換後の self を返します。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param encoding 変換先のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@return ... -
String
# encode!(encoding , options = nil) -> self (203.0) -
self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ 与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば self のエンコーディングが使われます。変換後の self を返します。
self を指定したエンコーディングに変換し、自身を置き換えます。引数を2つ
与えた場合、第二引数は変換元のエンコーディングを意味します。さもなくば
self のエンコーディングが使われます。変換後の self を返します。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param encoding 変換先のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@param from_encoding 変換元のエンコーディングを表す文字列か Encoding オブジェクトを指定します。
@return ... -
Symbol
# capitalize(*options) -> Symbol (202.0) -
シンボルに対応する文字列の先頭の文字を大文字に、残りを小文字に変更した シンボルを返します。
シンボルに対応する文字列の先頭の文字を大文字に、残りを小文字に変更した
シンボルを返します。
(self.to_s.capitalize.intern と同じです。)
:foobar.capitalize #=> :Foobar
:fooBar.capitalize #=> :Foobar
:FOOBAR.capitalize #=> :Foobar
:"foobar--".capitalize # => "Foobar--"
@see String#capitalize -
Symbol
# downcase(*options) -> Symbol (202.0) -
大文字を小文字に変換したシンボルを返します。
大文字を小文字に変換したシンボルを返します。
(self.to_s.downcase.intern と同じです。)
:FOO.downcase #=> :foo
@see String#downcase -
Symbol
# swapcase(*options) -> Symbol (202.0) -
'A' から 'Z' までのアルファベット大文字を小文字に、'a' から 'z' までの アルファベット小文字を大文字に変更したシンボルを返します。
'A' から 'Z' までのアルファベット大文字を小文字に、'a' から 'z' までの
アルファベット小文字を大文字に変更したシンボルを返します。
(self.to_s.swapcase.intern と同じです。)
p :ABCxyz.swapcase # => :abcXYZ
p :Access.swapcase # => :aCCESS
@see String#swapcase -
Symbol
# upcase(*options) -> Symbol (202.0) -
小文字を大文字に変換したシンボルを返します。
小文字を大文字に変換したシンボルを返します。
(self.to_s.upcase.intern と同じです。)
:foo.upcase #=> :FOO
@see String#upcase -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer) -> Symbol (114.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...tion_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@param options 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol
optio......stop conversion after output before input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT
戻り値は以下のうちのどれかです。
* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_fu......mitive_errinfo]
case ret
when :invalid_byte_sequence
ec.insert_output(ec.primitive_errinfo[3].dump[1..-2])
redo
when :undefined_conversion
c = ec.primitive_errinfo[3].dup.force_encoding(ec.primitive_errinfo[1])
ec.insert_output('\x{%X:%s}' % [c.ord, c.encoding])
redo
when... -
ARGF
. class # set _ encoding(ext _ enc) -> self (15.0) -
ARGF の外部/内部エンコーディングを設定します。 次以降に処理するファイルにも同じ設定が適用されます。
...介して読み込むファイルの、
内部エンコーディングは読み込んだ文字列のエンコーディングです。
詳しくは IO#set_encoding を参照してください。
@param enc_str 外部/内部エンコーディングを"A:B" のようにコロンで......ます。
@param int_enc 内部エンコーディングを表す文字列か
Encoding オブジェクトを指定します。
@param options エンコーディング変換のオプション。
String#encode と同じものが指定できます。
@see String#encode... -
Rake
:: FileTask # needed? -> bool (13.0) -
このタスクが必要である場合は真を返します。 そうでない場合は偽を返します。
...るファイルが古い場合に真を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.needed? # => true
IO.write("test.txt", "test")
task.needed? # => false
end
//}...