1473件ヒット
[1-100件を表示]
(0.129秒)
ライブラリ
- ビルトイン (375)
-
cgi
/ core (11) -
irb
/ cmd / help (11) -
irb
/ extend-command (11) - json (22)
- logger (22)
- matrix (22)
- mkmf (22)
-
net
/ ftp (11) -
net
/ imap (66) -
net
/ smtp (72) - objspace (11)
- openssl (66)
- pathname (11)
- prime (33)
- rake (11)
-
rubygems
/ dependency _ list (11) -
rubygems
/ format (22) -
rubygems
/ old _ format (22) -
rubygems
/ package / tar _ input (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (22) -
rubygems
/ specification (33) -
rubygems
/ user _ interaction (22) -
shell
/ filter (6) - socket (176)
- timeout (19)
- tsort (42)
- uri (22)
クラス
- Addrinfo (22)
-
Encoding
:: Converter (11) - File (11)
-
Gem
:: DependencyList (11) -
Gem
:: Format (22) -
Gem
:: OldFormat (22) -
Gem
:: Package :: TarInput (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (22) -
Gem
:: Specification (33) -
Gem
:: StreamUI (11) - IPSocket (11)
-
IRB
:: ExtendCommand :: Help (11) - Integer (11)
-
JSON
:: State (22) - LocalJumpError (11)
- Logger (22)
- Matrix (22)
- Module (11)
-
Net
:: FTP (11) -
Net
:: IMAP (55) -
Net
:: IMAP :: Envelope (11) -
Net
:: SMTP (72) - Object (55)
-
OpenSSL
:: X509 :: ExtensionFactory (55) - Pathname (11)
- Prime (22)
-
Rake
:: FileList (11) - Range (11)
-
RubyVM
:: InstructionSequence (27) -
Shell
:: Filter (6) - Socket (66)
- String (55)
- Struct (2)
- Thread (16)
- Time (11)
- TracePoint (55)
- UDPSocket (11)
- UNIXServer (11)
- UNIXSocket (11)
-
URI
:: Generic (22)
モジュール
-
CGI
:: QueryExtension (11) - Enumerable (44)
-
Gem
:: UserInteraction (11) -
IRB
:: ExtendCommandBundle (11) - Kernel (33)
- ObjectSpace (11)
-
OpenSSL
:: OCSP (11) -
Process
:: GID (11) -
Process
:: UID (11) -
Socket
:: Constants (44) - TSort (42)
- Timeout (19)
キーワード
- - (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - DATA (11)
- Fiber (11)
-
INADDR
_ ANY (22) -
MCAST
_ BLOCK _ SOURCE (22) -
MCAST
_ UNBLOCK _ SOURCE (22) -
MSG
_ ERRQUEUE (22) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
REVOKED
_ STATUS _ REMOVEFROMCRL (11) - Rubyの起動 (3)
- UndefinedConversionError (11)
- accept (11)
- append (11)
- cgi (11)
-
choose
_ from _ list (22) -
connect
_ from (22) -
convertible
_ int (22) -
create
_ ext _ from _ array (11) -
create
_ ext _ from _ hash (11) -
create
_ ext _ from _ string (11) -
create
_ extension (22) - debug (22)
- disable (22)
- each (11)
-
each
_ strongly _ connected _ component _ from (42) - enable (22)
- encode (33)
- encode! (22)
-
enum
_ for (22) - eval (11)
-
excluded
_ from _ list? (11) - execute (11)
-
exit
_ value (11) - fiddle (11)
- find (11)
-
from
_ file _ by _ path (22) -
from
_ gems _ in (11) -
from
_ installed _ gems (11) -
from
_ io (22) -
from
_ name (22) -
from
_ prime _ division (11) -
from
_ source _ index (11) -
from
_ state (11) -
from
_ yaml (11) - generate (11)
-
get
_ proxy _ from _ env (11) - include (11)
-
install
_ alias _ method (11) -
int
_ from _ prime _ division (22) - irb (11)
-
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) -
load
_ gemspec (11) -
loaded
_ from (11) -
loaded
_ from= (11) - mailfrom (11)
-
max
_ by (44) - minor (22)
-
net
/ imap (11) - new (13)
- open-uri (11)
- optparse (11)
-
primitive
_ errinfo (11) -
rdoc
/ generator / json _ index (11) -
reachable
_ objects _ from (11) - recvfrom (33)
-
recvfrom
_ nonblock (22) -
relative
_ path _ from (11) - rename (28)
-
report
_ on _ exception (8) -
report
_ on _ exception= (8) -
route
_ from (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / uninstall _ command (11) - search (11)
-
send
_ mail (11) - sendmail (11)
- sort (11)
- start (28)
- strftime (11)
- timeout (19)
-
to
_ binary (9) -
to
_ enum (22) - tsort (11)
-
uid
_ search (11) -
uid
_ sort (11) - xmlrpc (3)
- セキュリティモデル (11)
- 制御構造 (11)
検索結果
先頭5件
-
irb (26096.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......。
$ irb
irb(main):001:0>
あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1>......義
=> "OK"
irb(main):005:0> x # x を表示
=> "OK"
irb(main):006:0> irb # サブ irb を起動
irb#1(main):001:0> x # x を表示
NameError: undefined local variable or method `x' for main:Object
from (irb#1):1:in `Kernel#binding'
起動... -
CGI
:: QueryExtension # from -> String (21217.0) -
ENV['HTTP_FROM'] を返します。
...ENV['HTTP_FROM'] を返します。... -
Net
:: IMAP :: Envelope # from -> [Net :: IMAP :: Address] | nil (21217.0) -
From を Net::IMAP::Address オブジェクトの配列で返します。
...From を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。... -
RubyVM
:: InstructionSequence . load _ from _ binary(binary) -> RubyVM :: InstructionSequence (15407.0) -
RubyVM::InstructionSequence#to_binaryにより作られたバイナリフォーマットの文字列からiseqのオブジェクトをロードします。
...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 (15407.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... -
Prime
. int _ from _ prime _ division(pd) -> Integer (15323.0) -
Prime.instance.int_from_prime_division と同じです。
...Prime.instance.int_from_prime_division と同じです。
@param pd 整数のペアの配列を指定します。含まれているペアの第一要素は素因数を、
第二要素はその素因数の指数をあらわします。
@see Prime#int_from_prime_division... -
Prime
# int _ from _ prime _ division(pd) -> Integer (15319.0) -
素因数分解された結果を元の数値に戻します。
...アの第一要素は素因数を、
第二要素はその素因数の指数をあらわします。
//emlist[例][ruby]{
require 'prime'
Prime.int_from_prime_division([[2,2], [3,1]]) #=> 12
Prime.int_from_prime_division([[2,2], [3,2]]) #=> 36
//}
@see Prime.int_from_prime_division... -
Gem
:: SourceIndex . from _ installed _ gems(*deprecated) -> Gem :: SourceIndex (15307.0) -
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
...与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
@param deprecated この引数は非推奨です。後方互換性のためにのみ提供されているので使用すべきではありません。
@see Gem::SourceIndex.from_gems_in... -
Gem
:: SourceIndex . from _ gems _ in(*spec _ dirs) -> Gem :: SourceIndex (15301.0) -
引数で与えられたディレクトリに置かれている Ruby スクリプト形式の gemspec ファイルを使用して 新しいインスタンスを作成します。
...引数で与えられたディレクトリに置かれている Ruby スクリプト形式の gemspec ファイルを使用して
新しいインスタンスを作成します。
@param spec_dirs gemspec ファイルが置かれているディレクトリを一つ以上指定します。... -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (12401.0) -
@todo security_policy
...@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ???...