別のキーワード
種類
- 文書 (37)
- ライブラリ (24)
- インスタンスメソッド (12)
ライブラリ
クラス
キーワード
-
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 3
. 0 . 0 (5) - rm (6)
-
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - tsort (12)
-
win32
/ registry (12)
検索結果
先頭5件
-
Shell
:: CommandProcessor # delete(*filename) -> Integer (21107.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
:: CommandProcessor # rm(*filename) -> Integer (6007.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
tsort (42.0)
-
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
...@dep[triple] = inputs
end
def build(target)
each_strongly_connected_component_from(target) {|ns|
if ns.length != 1
fs = ns.delete_if {|n| Array === n}
raise TSort::Cyclic.new("cyclic dependencies: #{fs.join ', '}")
end
n = ns.first
if Array === n......TSort
end
def command(arg)
print arg, "\n"
system arg
end
m = Make.new
m.rule(%w[t1]) { command 'date > t1' }
m.rule(%w[t2]) { command 'date > t2' }
m.rule(%w[t3]) { command 'date > t3' }
m.rule(%w[t4], %w[t1 t3]) { command 'cat t1 t3 > t4' }
m.rule(%w[t5], %w[t4 t2]) { command 'cat t4 t2 > t... -
NEWS for Ruby 2
. 5 . 0 (30.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* String#start_with? は正規表現を受け取れるようになりました 13712
* String#delete_prefix, String#delete_prefix! を追加 12694
* String#delete_suffix, String#delete_suffix! を追加 13665
* String#each_grapheme_cluster, String#grapheme_clusters を追加。結......* gdbm
* ipaddr
* scanf
* sdbm
* stringio
* strscan
* webrick
* zlib
* Logger
* Logger.new("| command") は意図せず、コマンドを実行していましたが、禁止されました。
Logger#initialize の引数は仕様としてフ... -
NEWS for Ruby 3
. 0 . 0 (24.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...from the toplevel scope is now a RuntimeError.
14541
* Assigning to a numbered parameter is now a SyntaxError instead 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 i......* String#*
* String#capitalize
* String#center
* String#chomp
* String#chop
* String#delete
* String#delete_prefix
* String#delete_suffix
* String#downcase
* String#dump
* String#each_char
* String#each_grapheme_cluster
*... -
win32
/ registry (24.0) -
win32/registry は Win32 プラットフォームでレジストリをアクセスするための ライブラリです。Win32 API の呼び出しに Win32API を使います。
....each_key { |key, wtime| ... } # サブキーの列挙
reg.delete_value('foo') # 値の削除
reg.delete_key('foo') # サブキーの削除
reg.delete_key('foo', true) # サブキーの再帰削除
end
//}......wsh = WIN32OLE.new('WScript.Shell')
value = wsh.RegRead 'HKLM\Software\Microsoft\Windows\...'
wsh.RegWrite 'HKCU\Software\foo\barfile\shell\open\command\\', '"C:\..." "%1"', 'REG_SZ'
ただし,キーを列挙したり,自由なバイナリ値を読み書きすることができません。... -
ruby 1
. 8 . 4 feature (18.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
#
# * ext/tk/tcltklib.c: fix bug on switching threads and waiting on the
# deleted interpreter on vwait and tkwait command.
削除された Tk インタープリタに対して vwait や tkwait での処理待ちを
終了せずに待......続けてしまう可能性があるというバグを修正しました.
#
# * ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk
# interpreter.
MultiTkIp で生成した Tk インタープリタを削除した後も,
不要となったはずのスレ......ri Nov 18 17:35:09 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
#
# * ext/tk/lib/multi-tk.rb: add restriction to access the entried
# command table and manipulate other IPs (for reason of security).
# Now, a IP object can be controlled by only its master IP or the
#... -
ruby 1
. 9 feature (12.0) -
ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。
...TPRequest#body_stream(=) [lib] [new]
=== 2004-03-05
: net/http [lib] [new]
support WebDAV methods, PROPPATCH, LOCK, UNLOCK, OPTIONS, PROPFIND,
DELETE, MOVE, COPY, MKCOL.
: Net::HTTPResponse#response [lib] [obsolete]
: Net::HTTPResponse#header [lib] [obsolete]
: Net::HTTPResponse#read_header [......れまでどおりです。
p system("hogehoge ''")
# => ruby 1.9.0 (2004-07-17) [i586-linux]
sh: line 1: hogehoge: command not found
false
=== 2004-02-06
: BasicSocket#do_not_reverse_lookup [new]
: BasicSocket#do_not_reverse_lookup= [new]
個々のソ...