別のキーワード
ライブラリ
- ビルトイン (563)
-
cgi
/ core (12) - csv (12)
-
drb
/ acl (12) -
irb
/ cmd / help (12) -
irb
/ extend-command (12) - json (24)
- logger (24)
- matrix (24)
- mkmf (24)
-
net
/ ftp (12) -
net
/ http (24) -
net
/ imap (72) -
net
/ smtp (104) - objspace (12)
- openssl (72)
- pathname (12)
- prime (36)
- psych (12)
- rake (12)
-
rubygems
/ dependency _ list (12) -
rubygems
/ format (24) -
rubygems
/ old _ format (24) -
rubygems
/ package / tar _ header (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (24) -
rubygems
/ specification (36) -
rubygems
/ user _ interaction (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (192)
- timeout (21)
- tsort (46)
- uri (24)
クラス
- Addrinfo (24)
- Array (12)
-
Encoding
:: Converter (12) - File (12)
-
Gem
:: DependencyList (12) -
Gem
:: Format (24) -
Gem
:: OldFormat (24) -
Gem
:: Package :: TarHeader (12) -
Gem
:: Package :: TarInput (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (24) -
Gem
:: Specification (36) -
Gem
:: StreamUI (12) - IPSocket (12)
-
IRB
:: ExtendCommand :: Help (12) - Integer (12)
-
JSON
:: State (24) - LocalJumpError (24)
- Logger (24)
- Matrix (24)
- Module (12)
-
Net
:: FTP (12) -
Net
:: HTTP (24) -
Net
:: IMAP (60) -
Net
:: IMAP :: Envelope (12) -
Net
:: SMTP (104) - Object (72)
-
OpenSSL
:: X509 :: ExtensionFactory (60) - Pathname (12)
- Prime (24)
- Proc (14)
-
Rake
:: FileList (12) - Range (28)
-
RubyVM
:: InstructionSequence (30) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (72)
- String (60)
- Struct (4)
- Thread (18)
- ThreadGroup (12)
- Time (12)
- TracePoint (60)
- UDPSocket (12)
- UNIXServer (12)
- UNIXSocket (12)
-
URI
:: Generic (24)
モジュール
-
CGI
:: QueryExtension (12) - Enumerable (48)
-
Gem
:: UserInteraction (12) -
IRB
:: ExtendCommandBundle (12) - Kernel (85)
- ObjectSpace (12)
-
OpenSSL
:: OCSP (12) -
Process
:: GID (12) -
Process
:: UID (12) -
Socket
:: Constants (48) - TSort (46)
- Timeout (21)
キーワード
- - (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - ACL (12)
- CSV (12)
- DATA (12)
- Enumerator (12)
- Fiber (12)
-
INADDR
_ ANY (24) -
MCAST
_ BLOCK _ SOURCE (24) -
MCAST
_ UNBLOCK _ SOURCE (24) -
MSG
_ ERRQUEUE (24) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) - Proc (12)
-
REVOKED
_ STATUS _ REMOVEFROMCRL (12) - RegexpError (12)
- Rubyの起動 (4)
- UndefinedConversionError (12)
- [] (1)
- accept (12)
- append (12)
- cgi (12)
-
choose
_ from _ list (24) -
connect
_ from (24) -
convertible
_ int (24) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) - debug (24)
- disable (24)
- each (24)
-
each
_ strongly _ connected _ component _ from (46) - enable (24)
- enclose (12)
- encode (36)
- encode! (24)
-
enum
_ for (24) - eval (24)
-
excluded
_ from _ list? (12) - execute (12)
-
exit
_ value (12) - fiddle (12)
- find (12)
-
from
_ file _ by _ path (24) -
from
_ gems _ in (12) -
from
_ installed _ gems (12) -
from
_ io (24) -
from
_ name (24) -
from
_ prime _ division (12) -
from
_ source _ index (12) -
from
_ state (12) -
from
_ yaml (12) - generate (12)
-
get
_ proxy _ from _ env (12) - include (12)
-
install
_ alias _ method (12) -
int
_ from _ prime _ division (24) - irb (12)
- lambda (18)
-
load
_ from _ binary (10) -
load
_ from _ binary _ extra _ data (10) -
load
_ gemspec (12) -
loaded
_ from (12) -
loaded
_ from= (12) - mailfrom (12)
-
max
_ by (48) - minor (24)
-
net
/ http (12) -
net
/ imap (12) -
net
/ smtp (12) - new (29)
- open-uri (12)
- optparse (12)
-
primitive
_ errinfo (12) - proc (19)
-
proxy
_ from _ env= (12) -
proxy
_ from _ env? (12) -
rdoc
/ generator / json _ index (12) -
rdoc
/ markdown (12) -
rdoc
/ parser / c (12) -
reachable
_ objects _ from (12) - ready (12)
- reason (12)
- recvfrom (36)
-
recvfrom
_ nonblock (24) -
relative
_ path _ from (12) - rename (42)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
reverse
_ each (4) -
route
_ from (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ commands / uninstall _ command (12) - search (12)
-
send
_ mail (12) - sendmail (12)
- sort (12)
- start (32)
- strftime (12)
- timeout (21)
-
to
_ binary (10) -
to
_ enum (24) - transpose (12)
- tsort (12)
-
uid
_ search (12) -
uid
_ sort (12) - xmlrpc (3)
-
yaml
_ tag (12) - セキュリティモデル (12)
- 制御構造 (12)
- 手続きオブジェクトの挙動の詳細 (12)
検索結果
先頭5件
-
rubygems
/ commands / lock _ command (6.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
...gem 'actionpack', '= 1.11.2'
gem 'actionmailer', '= 1.1.5'
gem 'actionwebservice', '= 1.0.0'
Just load lockdown.rb from your application to ensure that the current
versions are loaded. Make sure that lockdown.rb is loaded *before* any
other require stat... -
rubygems
/ commands / mirror _ command (6.0) -
リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。
...ジトリを
ローカルにミラーします。設定ファイルは YAML で以下のように書きます。
---
- from: http://gems.example.com # source repository URI
to: /path/to/mirror # destination directory
複数の取得元と... -
rubygems
/ commands / pristine _ command (6.0) -
インストールされている Gem パッケージを初期状態にするためのライブラリです。
...Arguments:
GEMNAME gem to restore to pristine condition (unless --all)
Summary:
Restores installed gems to pristine condition from files located in the gem
cache
Description:
The pristine command compares the installed gems with the contents of the
cached... -
tsort (6.0)
-
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
...inputs, block]
outputs.each {|f| @dep[f] = [triple]}
@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 '... -
xmlrpc (6.0)
-
XML-RPC を扱うためのライブラリです。
...oose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers
* Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
* SandStorm component architecture Client interface
=== Choosing a different XML Parser or XML Writer
The examples above all use the... -
セキュリティモデル (6.0)
-
セキュリティモデル RubyにはCGI等のプログラミングを安全に行うことを助ける為に、セキュリティ 機構が備わっています。
...emlist{
$ ruby -e '$SAFE = 1; open(ARGV[0])' hoge
-e:1:in `initialize': Insecure operation - initialize (SecurityError)
from -e:1
//}
* ファイルテスト演算子の使用、ファイルの更新時刻比較
* 外部コマンド実行 (Kernel.#sy... -
制御構造 (6.0)
-
制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END
...ループを作
ることができます。
//emlist[][ruby]{
begin
do_something # exception raised
rescue
# handles error
retry # restart from beginning
end
//}
rescue 節以外で retry が用いられた場合には例外 SyntaxError が発生
します。
=== 例外処理
====[a:raise... -
Struct
. [](*args) -> Struct (1.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインスタンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//} -
Struct
. new(*args) -> Struct (1.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインスタンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//} -
URI
:: Generic # -(src) -> URI :: Generic (1.0) -
与えられた URI を表す src からの相対パスを返します。
与えられた URI を表す src からの相対パスを返します。
@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。
例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x20100256 URL:foo/bar.html>