別のキーワード
ライブラリ
- ビルトイン (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件
-
Addrinfo
# connect _ from(host , port) -> Socket (6108.0) -
引数で指定されたアドレスから 自身のアドレスへソケットを接続します。
...レスはソケット接続のローカル側のアドレスになります。
require 'socket'
Addrinfo.tcp("www.ruby-lang.org", 80).connect_from("0.0.0.0", 4649) {|s|
s.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
puts s.read
}
@param host ホスト(IP アドレスも... -
Addrinfo
# connect _ from(host , port) {|sock| . . . } -> object (6108.0) -
引数で指定されたアドレスから 自身のアドレスへソケットを接続します。
...レスはソケット接続のローカル側のアドレスになります。
require 'socket'
Addrinfo.tcp("www.ruby-lang.org", 80).connect_from("0.0.0.0", 4649) {|s|
s.print "GET / HTTP/1.0\r\nHost: www.ruby-lang.org\r\n\r\n"
puts s.read
}
@param host ホスト(IP アドレスも... -
Gem
:: SourceIndex . from _ installed _ gems(*deprecated) -> Gem :: SourceIndex (6107.0) -
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
...与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
@param deprecated この引数は非推奨です。後方互換性のためにのみ提供されているので使用すべきではありません。
@see Gem::SourceIndex.from_gems_in... -
Net
:: HTTP # proxy _ from _ env=(boolean) (6107.0) -
プロクシ情報を環境変数から得るかどうかを指定します。
...プロクシ情報を環境変数から得るかどうかを指定します。
Net::HTTP#start で接続する前に設定する必要があります。
@param boolean プロクシ情報を環境変数から得るかどうかを指定する真偽値
@see Net::HTTP#proxy_from_env?... -
Net
:: HTTP # proxy _ from _ env? -> bool (6107.0) -
プロクシ情報を環境変数から得る場合に true を返します。
....start の proxy_address
引数に :ENV を渡した場合に true になります。
環境変数 http_proxy が定義されていなくともこの値は true を返します。
その場合にはプロクシは利用されず直接サーバに接続します。
@see Net::HTTP#proxy_from_env=... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (6107.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...上でドライブが違うなど、base_directory から self への相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pathname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}... -
RubyVM
:: InstructionSequence . load _ from _ binary(binary) -> RubyVM :: InstructionSequence (6107.0) -
RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。
...りません。自分が変換したバイナリデータを使うべきです。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary
RubyVM::InstructionSequence.load_from_binary(binary).eval # => 3
//}
@see RubyVM::InstructionSequence#to_binary... -
RubyVM
:: InstructionSequence . load _ from _ binary _ extra _ data(binary) -> String (6107.0) -
バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。
...埋め込まれたextra_dataを取り出します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}
@see RubyVM::InstructionSequence#to_binary... -
Gem
:: DependencyList . from _ source _ index(src _ index) -> Gem :: DependencyList (6101.0) -
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
@param src_index Gem::SourceIndex を指定します。
@see Gem::SourceIndex -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (6101.0) -
@todo security_policy
@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ???