594件ヒット
[1-100件を表示]
(0.108秒)
ライブラリ
- ビルトイン (144)
-
cgi
/ core (12) - csv (12)
- erb (24)
-
irb
/ context (24) -
irb
/ output-method (36) -
net
/ http (96) -
net
/ smtp (24) - prettyprint (72)
-
rdoc
/ stats (12) -
rubygems
/ commands / dependency _ command (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (36)
- tempfile (24)
-
webrick
/ httpresponse (24) - zlib (24)
クラス
-
ARGF
. class (48) - Addrinfo (24)
- CGI (12)
- CSV (12)
- ERB (24)
-
Gem
:: Commands :: DependencyCommand (12) - IO (36)
-
IRB
:: Context (24) -
IRB
:: OutputMethod (24) -
IRB
:: StdioOutputMethod (12) - Integer (24)
- Module (12)
-
Net
:: HTTP (96) -
Net
:: SMTP (24) - Object (12)
- PrettyPrint (72)
-
RDoc
:: Stats (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (12)
- Tempfile (24)
-
WEBrick
:: HTTPResponse (24) -
Zlib
:: GzipReader (12) -
Zlib
:: GzipWriter (12)
モジュール
- Enumerable (12)
キーワード
-
add
_ row (12) - body= (12)
- breakable (12)
- chunk (12)
- chunked= (12)
- connect (12)
-
connect
_ from (24) -
def
_ class (12) -
def
_ module (12) - delete (12)
- downto (24)
-
each
_ codepoint (24) - fdatasync (12)
- get2 (24)
- group (12)
- header (12)
- indent (12)
-
initialize
_ copy (12) -
inplace
_ mode (12) -
inplace
_ mode= (12) -
instance
_ method (12) - maxwidth (12)
- nest (12)
- post2 (24)
-
print
_ dependencies (12) - printf (24)
- printn (12)
- ready (12)
- reopen (12)
-
request
_ get (24) -
request
_ post (24) -
return
_ format (12) -
return
_ format= (12) - system (18)
- text (12)
- ungetc (12)
- unlink (12)
検索結果
先頭5件
-
IRB
:: OutputMethod # print(*objs) (21102.0) -
NotImplementedError が発生します。
...NotImplementedError が発生します。
@param objs 任意のオブジェクトを指定します。
@raise NotImplementedError 必ず発生します。... -
IRB
:: StdioOutputMethod # print(*objs) -> nil (21102.0) -
引数を標準出力に出力します。
引数を標準出力に出力します。
@param objs 任意のオブジェクトを指定します。 -
RDoc
:: Stats # print -> () (21102.0) -
自身の持つ情報を標準出力に表示します。
自身の持つ情報を標準出力に表示します。 -
Gem
:: Commands :: DependencyCommand # print _ dependencies(spec , level = 0) -> String (15302.0) -
依存関係を表す文字列を返します。
依存関係を表す文字列を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param level 依存関係の深さを指定します。 -
IRB
:: OutputMethod # printn(*objs) -> nil (9101.0) -
各 obj を self に出力し、最後に改行を出力します。
各 obj を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。 -
PrettyPrint
# indent -> Integer (9101.0) -
現在のインデントの深さを返します。
現在のインデントの深さを返します。 -
PrettyPrint
# maxwidth -> Integer (9101.0) -
自身の幅を返します。
自身の幅を返します。 -
Module
# instance _ method(name) -> UnboundMethod (6143.0) -
self のインスタンスメソッド name をオブジェクト化した UnboundMethod を返します。
...ndMethod を返します。
@param name メソッド名を Symbol または String で指定します。
@raise NameError self に存在しないメソッドを指定した場合に発生します。
@see Module#public_instance_method, Object#method
//emlist[例][ruby]{
class Interpreter
def d......o_a() print "there, "; end
def do_d() print "Hello "; end
def do_e() print "!\n"; end
def do_v() print "Dave"; end
Dispatcher = {
"a" => instance_method(:do_a),
"d" => instance_method(:do_d),
"e" => instance_method(:do_e),
"v" => instance_method(:do_v)
}
def inter......pret(string)
string.each_char {|b| Dispatcher[b].bind(self).call }
end
end
interpreter = Interpreter.new
interpreter.interpret('dave')
# => Hello there, Dave!
//}... -
ARGF
. class # inplace _ mode -> String | nil (6119.0) -
c:ARGF#inplace で書き換えるファイルのバックアップに付加される拡 張子を返します。拡張子が設定されていない場合は空文字列を返します。イン プレースモードでない場合は nil を返します。
...や ARGF.class#inplace_mode= で設定します。
例:
# $ echo "test" > test.txt
# $ ruby -i.bak test.rb test.txt
# $ cat test.txt # => "TEST"
# $ cat test.txt.bak # => "test"
# test.rb
ARGF.inplace_mode # => ".bak"
ARGF.each_line {|e|print e.upcase} # => "TEST"......例:
# $ echo "test" > test.txt
# $ ruby test.rb test.txt
# $ cat test.txt # => "test"
# test.rb
ARGF.inplace_mode # => nil
ARGF.each_line {|e|print e.upcase} # => "TEST"
@see d:spec/rubycmd#cmd_option, ARGF.class#inplace_mode=...