ライブラリ
- ビルトイン (77)
-
cgi
/ core (3) -
cgi
/ html (28) - csv (1)
- digest (1)
- drb (1)
-
drb
/ extservm (1) - e2mmap (1)
- erb (2)
- etc (4)
- fiddle (1)
- getoptlong (2)
-
irb
/ context (2) -
irb
/ input-method (1) - json (9)
-
json
/ add / struct (1) - logger (22)
- mkmf (2)
-
net
/ ftp (11) -
net
/ imap (6) - openssl (24)
- optparse (12)
- ostruct (1)
- pathname (30)
- rake (19)
-
rake
/ loaders / makefile (1) -
rake
/ packagetask (5) -
rake
/ rdoctask (1) -
rake
/ testtask (1) -
rdoc
/ code _ object (2) -
rdoc
/ context (5) -
rdoc
/ markup (1) -
rdoc
/ markup / formatter (1) -
rdoc
/ top _ level (5) - resolv (18)
-
rexml
/ document (22) -
rexml
/ sax2listener (1) -
rexml
/ streamlistener (3) - ripper (1)
-
ripper
/ filter (1) - rss (1)
- rubygems (3)
-
rubygems
/ command (6) -
rubygems
/ command _ manager (5) -
rubygems
/ commands / build _ command (2) -
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ commands / which _ command (1) -
rubygems
/ config _ file (2) -
rubygems
/ dependency (4) -
rubygems
/ dependency _ installer (2) -
rubygems
/ dependency _ list (3) -
rubygems
/ indexer (2) -
rubygems
/ installer (5) -
rubygems
/ package / f _ sync _ dir (1) -
rubygems
/ package / tar _ header (4) -
rubygems
/ package / tar _ reader / entry (1) -
rubygems
/ package / tar _ writer (5) -
rubygems
/ source _ index (6) -
rubygems
/ specification (7) - shell (9)
-
shell
/ command-processor (9) -
shell
/ filter (9) -
shell
/ system-command (2) - socket (7)
-
syslog
/ logger (2) - time (3)
- uri (3)
-
webrick
/ httprequest (3) -
webrick
/ httpresponse (1) -
webrick
/ httputils (2) -
win32
/ registry (27) - win32ole (16)
- zlib (2)
クラス
-
ARGF
. class (2) - Addrinfo (2)
- BasicObject (6)
- BasicSocket (3)
- Binding (1)
-
CGI
:: Cookie (2) - CSV (1)
-
DRb
:: DRbUnknown (1) -
DRb
:: ExtServManager (1) - ERB (2)
- Encoding (4)
-
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (2) -
Etc
:: Group (2) -
Etc
:: Passwd (1) -
Fiddle
:: Function (1) -
Gem
:: Command (6) -
Gem
:: CommandManager (5) -
Gem
:: Commands :: BuildCommand (2) -
Gem
:: Commands :: DependencyCommand (1) -
Gem
:: Commands :: LockCommand (1) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Commands :: WhichCommand (1) -
Gem
:: ConfigFile (2) -
Gem
:: Dependency (4) -
Gem
:: DependencyInstaller (2) -
Gem
:: DependencyList (3) -
Gem
:: Indexer (2) -
Gem
:: Installer (5) -
Gem
:: LoadError (2) -
Gem
:: Package :: TarHeader (4) -
Gem
:: Package :: TarReader :: Entry (1) -
Gem
:: Package :: TarWriter (5) -
Gem
:: SourceIndex (6) -
Gem
:: Specification (7) - GetoptLong (2)
- IO (1)
-
IRB
:: Context (2) -
IRB
:: InputMethod (1) -
JSON
:: Parser (1) -
JSON
:: State (6) - Logger (20)
-
Logger
:: Formatter (1) -
Logger
:: LogDevice (1) - MatchData (7)
- Method (1)
- Module (7)
- NameError (1)
-
Net
:: FTP (9) -
Net
:: FTP :: MLSxEntry (2) -
Net
:: IMAP (1) -
Net
:: IMAP :: Address (1) -
Net
:: IMAP :: MailboxList (1) -
Net
:: IMAP :: ResponseCode (1) -
Net
:: IMAP :: TaggedResponse (1) -
Net
:: IMAP :: UntaggedResponse (1) - NoMethodError (1)
- Object (9)
-
OpenSSL
:: ASN1 :: ObjectId (4) -
OpenSSL
:: Cipher (1) -
OpenSSL
:: Config (5) -
OpenSSL
:: Digest (1) -
OpenSSL
:: Engine (4) -
OpenSSL
:: PKCS7 :: SignerInfo (2) -
OpenSSL
:: PKey :: EC :: Group (1) -
OpenSSL
:: SSL :: SSLSocket (1) -
OpenSSL
:: X509 :: Name (4) - OpenStruct (1)
- OptionParser (12)
- Pathname (30)
-
RDoc
:: CodeObject (2) -
RDoc
:: Context (5) -
RDoc
:: Markup (1) -
RDoc
:: Markup :: Formatter (1) -
RDoc
:: Options (2) -
RDoc
:: TopLevel (5) -
REXML
:: AttlistDecl (1) -
REXML
:: Attribute (2) -
REXML
:: Attributes (4) -
REXML
:: DocType (3) -
REXML
:: Document (2) -
REXML
:: Element (2) -
REXML
:: Entity (2) -
REXML
:: NotationDecl (1) -
RSS
:: Element (1) -
Rake
:: Application (1) -
Rake
:: FileList (1) -
Rake
:: MakefileLoader (1) -
Rake
:: PackageTask (5) -
Rake
:: RDocTask (1) -
Rake
:: Task (3) -
Rake
:: TaskArguments (6) -
Rake
:: TestTask (1) - Regexp (2)
- Resolv (4)
-
Resolv
:: DNS (6) -
Resolv
:: DNS :: Name (1) -
Resolv
:: DNS :: Resource :: IN :: SRV (1) -
Resolv
:: DNS :: Resource :: MX (1) -
Resolv
:: Hosts (4) -
Resolv
:: IPv6 (1) - Ripper (1)
-
Ripper
:: Filter (1) - Shell (9)
-
Shell
:: CommandProcessor (9) -
Shell
:: Filter (9) -
Shell
:: SystemCommand (2) -
Socket
:: Ifaddr (1) -
Socket
:: Option (1) - String (22)
- Struct (6)
- Symbol (2)
-
Syslog
:: Logger (1) -
Syslog
:: Logger :: Formatter (1) - Thread (2)
- Time (3)
-
URI
:: Generic (2) -
URI
:: LDAP (1) - UnboundMethod (1)
-
WEBrick
:: Cookie (1) -
WEBrick
:: HTTPRequest (3) -
WEBrick
:: HTTPResponse (1) -
WEBrick
:: HTTPUtils :: FormData (2) - WIN32OLE (3)
-
WIN32OLE
_ METHOD (2) -
WIN32OLE
_ PARAM (2) -
WIN32OLE
_ TYPE (2) -
WIN32OLE
_ TYPELIB (3) -
WIN32OLE
_ VARIABLE (4) -
Win32
:: Registry (27) -
Zlib
:: GzipFile (1) -
Zlib
:: GzipWriter (1)
モジュール
-
CGI
:: HtmlExtension (28) -
CGI
:: QueryExtension (3) - Exception2MessageMapper (1)
-
Gem
:: Package :: FSyncDir (1) -
JSON
:: Generator :: GeneratorMethods :: Hash (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) - Kernel (5)
-
OpenSSL
:: SSL :: SocketForwarder (1) -
REXML
:: Namespace (5) -
REXML
:: SAX2Listener (1) -
REXML
:: StreamListener (3) -
Rake
:: TaskManager (7)
キーワード
- % (1)
- <=> (1)
- =~ (1)
- Digest (1)
- [] (16)
- []= (8)
-
_ _ send _ _ (2) - add (3)
-
add
_ class (1) -
add
_ class _ or _ module (2) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ html (1) -
add
_ module (1) -
add
_ tag (1) -
add
_ value (1) -
ap
_ name (1) -
arg
_ names (1) - args (1)
- autoload? (1)
- basename (3)
- binread (1)
- binwrite (1)
- call (2)
- canonname (1)
- charset (1)
-
check
_ signedness (2) - checkbox (2)
-
checkbox
_ group (2) - chmod (4)
- chown (4)
- cipher (1)
-
class
_ variable _ get (1) -
col
_ sep (1) - command (1)
-
command
_ names (1) - compress (1)
-
config
_ file _ name (1) -
const
_ get (1) -
const
_ missing (1) -
curve
_ name (1) - debug (2)
-
def
_ exception (1) -
define
_ singleton _ method (2) - delete (5)
-
delete
_ key (1) -
delete
_ value (1) -
descriptor
_ length (1) -
destination
_ encoding _ name (2) - dig (1)
- digest (1)
- dirname (3)
- dn (1)
- doctype (2)
- each (5)
-
each
_ line (2) -
each
_ option (1) -
each
_ value (1) - egrep (1)
-
element
_ name (1) -
enhance
_ with _ matching _ rule (1) - entity (1)
- error (2)
- eval (1)
- exchange (1)
-
external
_ id (1) - extname (1)
- fatal (2)
-
file
_ absolute _ name (1) -
file
_ field (2) -
file
_ name (2) -
file
_ relative _ name (1) - filename (7)
- filename= (1)
- find (2)
-
find
_ command (1) -
find
_ command _ possibilities (1) -
find
_ enclosing _ module _ named (1) -
find
_ gems (1) -
find
_ local _ symbol (1) -
find
_ name (2) -
find
_ paths (1) -
find
_ spec _ by _ name _ and _ version (1) - fnmatch (1)
- fnmatch? (1)
-
formatted
_ program _ filename (1) - formatter (1)
- formatter= (1)
-
fsync
_ dir (1) - ftype (4)
-
full
_ name (3) - gem (1)
-
gem
_ signature (1) -
generate
_ bin _ script (1) -
generate
_ bin _ symlink (1) -
generate
_ windows _ script (1) - get (2)
-
get
_ all _ gem _ names (1) -
get
_ attribute (1) -
get
_ attribute _ ns (1) -
get
_ one _ gem _ name (1) -
get
_ path (1) -
get
_ value (1) - getaddress (3)
- getaddresses (3)
- getbinaryfile (2)
- getname (3)
- getnameinfo (1)
- getnames (3)
- getpeername (1)
- getresource (1)
- getresources (1)
- getsockname (1)
- getsockopt (2)
- gettextfile (2)
- gname (1)
- grpowned? (1)
- gzip (1)
- hash (2)
-
hash
_ old (1) - hidden (2)
- hostname (2)
- hostname= (1)
- httpdate (1)
- id (1)
- id2name (1)
-
in
_ namespace (1) - info (3)
- init (1)
- initialize (1)
- inspect (2)
- install (1)
- intern (2)
- invoke (1)
-
irb
_ name (1) - issuer (1)
- join (1)
- keyname (1)
- lchmod (1)
- lchown (1)
- length (1)
-
library
_ name (1) - linkname (1)
- ln (1)
- load (1)
-
load
_ file (1) -
load
_ gemspecs (1) -
local
_ name (1) - log (2)
-
long
_ name (1) - lookup (2)
-
max
_ key _ length (1) -
max
_ value _ length (1) -
max
_ value _ name _ length (1) - mdtm (1)
-
method
_ missing (1) - mkdir (3)
- name= (7)
-
named
_ captures (1) - names (4)
- namespace (2)
- namespaces (2)
- ndata (1)
-
new
_ scope (1) -
num
_ keys (1) -
num
_ values (1) -
object
_ nl (1) -
object
_ nl= (1) - offset (2)
-
ok
_ to _ remove? (1) -
ole
_ get _ methods (1) -
ole
_ type (1) -
ole
_ type _ detail (1) - on (9)
-
op
_ name (1) - optname (1)
-
orig
_ name (1) -
orig
_ name= (1) -
original
_ name (3) -
package
_ dir= (1) -
package
_ name (1) -
page
_ dir (1) -
parent
_ file _ name (1) -
parent
_ name (1) -
password
_ field (2) - path (1)
- pathconf (1)
- pathname (1)
- prefix (1)
- progname (1)
- progname= (1)
-
program
_ name (2) -
program
_ name= (2) -
public
_ send (2) -
radio
_ group (2) - read (2)
-
read
_ bin (1) -
read
_ i (1) -
read
_ s (1) - readlines (1)
-
register
_ command (1) -
remove
_ by _ name (1) -
remove
_ option (1) -
remove
_ spec (1) - rename (1)
- replicate (1)
- reset (2)
-
resolve
_ args (1) -
respond
_ to _ missing? (1) - rfc2822 (1)
- rfc822 (1)
- rm (3)
- rule (1)
-
script
_ name (2) -
scrolling
_ list (2) - send (2)
-
server
_ name (2) - service (1)
-
set
_ arg _ names (1) - setgid? (1)
- setproperty (1)
- shebang (1)
-
short
_ name (1) -
show
_ lookup _ failure (1) -
singleton
_ method (1) -
singleton
_ method _ added (1) -
singleton
_ method _ removed (1) -
singleton
_ method _ undefined (1) - size (3)
- slice (6)
- sn (1)
- source (1)
-
source
_ encoding _ name (2) - space (1)
- space= (1)
-
space
_ before (1) -
space
_ before= (1) -
spec
_ path (1) - specification (1)
- split (3)
- submit (2)
-
synthesize
_ file _ task (1) - sysopen (1)
-
tag
_ end (1) -
tag
_ name (1) -
tag
_ start (1) - target (1)
-
text
_ field (2) - textarea (2)
-
to
_ a (1) -
to
_ der (1) -
to
_ hash (1) -
to
_ json (3) -
to
_ name (1) -
to
_ path (1) -
to
_ s (14) -
to
_ string (1) -
to
_ sym (1) - truncate (1)
- uname (1)
-
unescape
_ filename? (1) - unknown (2)
- unlink (1)
- utime (4)
- value (2)
- ver (1)
- warn (2)
-
which
_ to _ update (1) -
with
_ defaults (1) - write (2)
-
write
_ bin (1) -
write
_ i (1) -
write
_ s (1) - wtime (1)
- yaml? (1)
検索結果
先頭5件
-
Gem
:: Package :: TarHeader # name -> String (90955.0) -
tar のヘッダに含まれる name を返します。
tar のヘッダに含まれる name を返します。 -
REXML
:: Namespace # name -> String (90910.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (82207.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding -
Gem
:: Command # get _ one _ gem _ name -> String (82207.0) -
コマンドラインで与えられた Gem の名前を一つ取得して返します。
コマンドラインで与えられた Gem の名前を一つ取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を一つだけ取得できない場合に発生します。 -
Gem
:: Command # get _ all _ gem _ names -> Array (82204.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Encoding
# name -> String (81925.0) -
エンコーディングの名前を返します。
エンコーディングの名前を返します。
//emlist[例][ruby]{
Encoding::UTF_8.name #=> "UTF-8"
//} -
OpenSSL
:: Engine # name -> String (81925.0) -
engine の(人間に読みやすい)名称を文字列で返します。
engine の(人間に読みやすい)名称を文字列で返します。
例:
engine.name # => "Atalla hardware engine support"
@see OpenSSL::Engine#id -
Rake
:: PackageTask # name -> String (81925.0) -
バージョン情報を含まないパッケージの名前を返します。
バージョン情報を含まないパッケージの名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.name # => "sample"
end
//} -
CGI
:: Cookie # name -> String (81907.0) -
クッキーの名前を返します。
クッキーの名前を返します。 -
Etc
:: Group # name -> String (81907.0) -
グループ名を返します。
グループ名を返します。 -
Gem
:: Dependency # name -> String (81907.0) -
依存関係の名前を文字列か正規表現で返します。
依存関係の名前を文字列か正規表現で返します。 -
Gem
:: LoadError # name -> String (81907.0) -
ロードに失敗した Gem の名前を返します。
ロードに失敗した Gem の名前を返します。 -
Gem
:: Specification # name -> String (81907.0) -
この Gem パッケージの名前を返します。
この Gem パッケージの名前を返します。 -
Net
:: IMAP :: TaggedResponse # name -> String (81907.0) -
レスポンスの名前(種類)を返します。
レスポンスの名前(種類)を返します。
例えば以下のような値を返します。これらの具体的な意味は
2060 を参考にしてください。
* "OK"
* "NO"
* "BAD" -
Net
:: IMAP :: UntaggedResponse # name -> String (81907.0) -
レスポンスの名前(種類)を返します。
レスポンスの名前(種類)を返します。
例えば以下のような値を返します。これらの具体的な意味は
2060 を参考にしてください。
* "OK"
* "NO"
* "BAD"
* "BYE"
* "PREAUTH"
* "CAPABILITY"
* "LIST"
* "FLAGS"
* etc -
OpenSSL
:: Digest # name -> String (81907.0) -
ハッシュ関数の名前を返します。
ハッシュ関数の名前を返します。 -
Win32
:: Registry # name (81607.0) -
@todo
@todo
キーのフルパスを 'HKEY_CURRENT_USER\SOFTWARE\foo\bar'
のような形で返します。 -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (73828.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Method
# original _ name -> Symbol (73243.0) -
オリジナルのメソッド名を返します。
オリジナルのメソッド名を返します。
//emlist[例][ruby]{
class C
def foo; end
alias bar foo
end
C.new.method(:bar).original_name # => :foo
//}
@see UnboundMethod#original_name -
Gem
:: Commands :: DependencyCommand # find _ gems(name , source _ index) -> Hash (73225.0) -
与えられた Gem の名前をインデックスから検索します。
与えられた Gem の名前をインデックスから検索します。
@param name Gem の名前を指定します。
@param source_index Gem::SourceIndex のインスタンスを指定します。
@see Gem::SourceIndex#search -
OpenSSL
:: PKCS7 :: SignerInfo # name -> OpenSSL :: X509 :: Name (73213.0) -
署名者の証明書の発行者の名前(DN)を返します。
署名者の証明書の発行者の名前(DN)を返します。
これと OpenSSL::PKCS7::SignerInfo#serial で
署名者を一意に識別します。 -
Encoding
:: InvalidByteSequenceError # source _ encoding _ name -> Encoding (73207.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#source_encoding -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (73207.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding -
WEBrick
:: HTTPUtils :: FormData # name -> String | nil (72994.0) -
フォームデータの name 属性を文字列で表すアクセサです。
フォームデータの name 属性を文字列で表すアクセサです。
@param value フォームデータの name 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].name #=> "q"
end
end
MyCGI.new.start() -
Net
:: IMAP :: Address # name -> String | nil (72955.0) -
メールアドレスの 822 の個人名(personal name)を返します。
メールアドレスの 822 の個人名(personal name)を返します。
個人名が存在しない場合は nil を返します。
通常は nil を返します。 -
REXML
:: Document # name -> String (72928.0) -
""(空文字列)を返します。
""(空文字列)を返します。
XMLの仕様上、このオブジェクトはexpanded name名前を持ちえません。 -
REXML
:: DocType # name -> String (72925.0) -
ルート要素名を返します。
ルート要素名を返します。
//emlist[][ruby]{
document = REXML::Document.new(<<EOS)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype = document.doctype
p doctype.name # => "html"
//} -
Rake
:: Application # name -> String (72925.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//} -
Thread
# name -> String (72925.0) -
self の名前を返します。
self の名前を返します。
@see Thread#name= -
WIN32OLE
_ METHOD # name -> String (72925.0) -
メソッド名を取得します。
メソッド名を取得します。
@return メソッド名を文字列で返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Workbook')
method = WIN32OLE_METHOD.new(tobj, 'SaveAs')
puts method.name # => SaveAs -
WIN32OLE
_ PARAM # name -> String (72925.0) -
パラメータ名を取得します。
パラメータ名を取得します。
@return パラメータ名を返します。名前付き引数形式でメソッドを呼び出すときに指定します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbook')
method = WIN32OLE_METHOD.new(tobj, 'SaveAs')
param1 = method.params[0]
puts param1.name # => Filename -
WIN32OLE
_ TYPE # name -> String (72925.0) -
selfの型名を取得します。
selfの型名を取得します。
@return selfの型名を文字列で返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Application')
p tobj.name # => "Application" -
WIN32OLE
_ TYPELIB # name -> String (72925.0) -
TypeLibのドキュメント文字列を取得します。
TypeLibのドキュメント文字列を取得します。
ドキュメント文字列は、コンテキストヘルプなどに利用可能なTypeLibの簡単な
説明文で、通常バージョン番号を含みます。
@return TypeLibのドキュメント文字列を返します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.name # => 'Microsoft Excel 14.0 Object Library' -
WIN32OLE
_ VARIABLE # name -> String (72925.0) -
変数名を取得します。
変数名を取得します。
@return 変数名を文字列で返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType')
variables = tobj.variables
variables.each do |variable|
puts "#{variable.name}" # => xlChart, xlDialogSheet, ...
end -
DRb
:: DRbUnknown # name -> String (72907.0) -
保持しているマーシャリングされたオブジェクトのクラスの名前を返します。
保持しているマーシャリングされたオブジェクトのクラスの名前を返します。 -
Etc
:: Passwd # name -> String (72907.0) -
このユーザのログイン名を返します。
このユーザのログイン名を返します。 -
Fiddle
:: Function # name -> nil | String (72907.0) -
関数の名前を返します。
関数の名前を返します。
名前が定義されていない場合は nil を返します。
@see Fiddle::Function.new -
Net
:: IMAP :: MailboxList # name -> String (72907.0) -
メールボックスの名前を文字列で返します。
メールボックスの名前を文字列で返します。 -
Net
:: IMAP :: ResponseCode # name -> String (72907.0) -
レスポンスコードを表す文字列を返します。 "ALERT"、"PERMANENTFLAGS"、"UIDVALIDITY" などを返します。
レスポンスコードを表す文字列を返します。
"ALERT"、"PERMANENTFLAGS"、"UIDVALIDITY" などを返します。 -
OpenSSL
:: Cipher # name -> String (72907.0) -
暗号化アルゴリズムの名前を文字列で返します。
暗号化アルゴリズムの名前を文字列で返します。 -
RDoc
:: Context # name -> String (72907.0) -
自身の名前を返します。
自身の名前を返します。
サブクラスによっては、メソッド名やクラス名を意味します。 -
REXML
:: Entity # name -> String (72907.0) -
実体の名前を返します。
実体の名前を返します。 -
REXML
:: NotationDecl # name -> String (72907.0) -
記法宣言の名前を返します。
記法宣言の名前を返します。 -
Rake
:: RDocTask # name -> String (72907.0) -
タスクの名前を返します。デフォルトは rdoc です。
タスクの名前を返します。デフォルトは rdoc です。 -
Rake
:: Task # name -> String (72907.0) -
ネームスペースを含むタスクの名前を返します。
ネームスペースを含むタスクの名前を返します。 -
Rake
:: TestTask # name -> String (72907.0) -
テストタスクの名前を返します。デフォルトは "test" です。
テストタスクの名前を返します。デフォルトは "test" です。 -
Shell
:: SystemCommand # name -> String (72907.0) -
@todo
@todo
コマンド名を返します。 -
Socket
:: Ifaddr # name -> String (72907.0) -
self のインターフェイス名を返します。
self のインターフェイス名を返します。 -
WEBrick
:: Cookie # name -> String (72907.0) -
Cookie の名前を文字列で返します。
Cookie の名前を文字列で返します。 -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (65200.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (65200.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Gem
:: CommandManager # find _ command(command _ name) -> Gem :: Command | nil (64825.0) -
登録されているコマンドからマッチしたものを返します。
登録されているコマンドからマッチしたものを返します。
@param command_name コマンド名を文字列で指定します。
@return Gem::Command のサブクラスのインスタンスを返します。
@raise RuntimeError マッチする可能性のあるコマンドが複数ある場合に発生します。
また、マッチするコマンドが無かった場合にも発生します。 -
UnboundMethod
# original _ name -> Symbol (64243.0) -
オリジナルのメソッド名を返します。
オリジナルのメソッド名を返します。
//emlist[例][ruby]{
class C
def foo; end
alias bar foo
end
C.instance_method(:bar).original_name # => :foo
//}
@see Method#original_name -
Gem
:: CommandManager # find _ command _ possibilities(command _ name) -> Array (64225.0) -
登録されているコマンドでマッチする可能性のあるものを返します。
登録されているコマンドでマッチする可能性のあるものを返します。
@param command_name コマンド名を文字列で指定します。 -
Gem
:: Specification # original _ name -> String (64225.0) -
このメソッドは後方互換性のために残されています。
このメソッドは後方互換性のために残されています。
@see Gem::Specification#full_name -
Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding (64207.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#source_encoding -
Module
# name -> String | nil (64033.0) -
モジュールやクラスの名前を文字列で返します。
モジュールやクラスの名前を文字列で返します。
このメソッドが返す「モジュール / クラスの名前」とは、
より正確には「クラスパス」を指します。
クラスパスとは、ネストしているモジュールすべてを
「::」を使って表示した名前のことです。
クラスパスの例としては「CGI::Session」「Net::HTTP」が挙げられます。
@return 名前のないモジュール / クラスに対しては、name は nil を、それ以外はオブジェクト ID の文字列を返します。
//emlist[例][ruby]{
module A
module B
end
p B.name #=> "A... -
Gem
:: ConfigFile # config _ file _ name -> String (63907.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
Rake
:: PackageTask # package _ name -> String (63907.0) -
バージョン情報を含むパッケージ名を返します。
バージョン情報を含むパッケージ名を返します。 -
Addrinfo
# getnameinfo(flags=0) -> [String , String] (63904.0) -
ノード名とサービスを文字列の配列で返します。
ノード名とサービスを文字列の配列で返します。
flags には Socket::NI_??? という名前の定数のビット OR を渡します。
require 'socket'
Addrinfo.tcp("127.0.0.1", 80).getnameinfo
#=> ["localhost", "www"]
Addrinfo.tcp("127.0.0.1", 80).getnameinfo(Socket::NI_NUMERICSERV)
#=> ["localhost", "80"]
@param flags フラグ
@raise SocketError getnam... -
Gem
:: Package :: TarHeader # gname -> String (63904.0) -
tar のヘッダに含まれるグループ名を返します。
tar のヘッダに含まれるグループ名を返します。 -
Gem
:: CommandManager # command _ names -> Array (63604.0) -
登録されているコマンド名の配列を返します。
登録されているコマンド名の配列を返します。 -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (55828.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
OptionParser
# program _ name=(name) (55582.0) -
プログラムの名前を文字列で指定します。
プログラムの名前を文字列で指定します。
@param name プログラムの名前を文字列で指定します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
$0 # => /path/to/filename.rb
opts.program_name # => filename
opts.program_name = 'test' # => "test"
opts.program_name # => "test"... -
Zlib
:: GzipWriter # orig _ name=(filename) (55561.0) -
gzip ファイルのヘッダーに記録する元ファイル名を指定します。
gzip ファイルのヘッダーに記録する元ファイル名を指定します。
Zlib::GzipWriter#write 等の書き込み系メソッドを
呼んだ後で指定しようとすると Zlib::GzipFile::Error 例外が
発生します。
@param filename gzip ファイルのヘッダーに記録する元ファイル名を文字列で指定します。
@return filename を返します。
require 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zl... -
Gem
:: Command # program _ name=(name) (55528.0) -
コマンドラインで実行するときに使用するプログラム名をセットします。
コマンドラインで実行するときに使用するプログラム名をセットします。
@param name プログラム名を指定します。 -
Logger
# progname=(name) (55507.0) -
ログに出力するプログラム名を設定します。
ログに出力するプログラム名を設定します。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.progname # => nil
logger.progname = "MyProgName" # => "MyProgName"
logger.progname # => "MyProgName"
logger.info("info1") # =... -
Resolv
:: DNS # getname(address) -> Resolv :: DNS :: Name (55507.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果の最初のホスト名を返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果の最初のホスト名を返します。
@param address IPアドレスを文字列、 Resolv::IPv4 のインスタンス、
Resolv::IPv6 のインスタンス、のいずれか与えます。
@raise Resolv::ResolvError ルックアップに失敗したときに発生します。 -
Resolv
:: DNS # getnames(address) -> [Resolv :: DNS :: Name] (55507.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果のホスト名リストを返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果のホスト名リストを返します。
@param address IPアドレスを文字列、 Resolv::IPv4 のインスタンス、
Resolv::IPv6 のインスタンス、のいずれか与えます。 -
Gem
:: Installer # formatted _ program _ filename(filename) -> String (55504.0) -
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
@param filename 実行ファイルのファイル名を指定します。 -
Gem
:: DependencyList # find _ name(full _ name) -> Gem :: Specification | nil (55246.0) -
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。
見つからなかった場合は nil を返します。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (55228.0) -
与えられた名前の名前空間でブロックを評価します。
与えられた名前の名前空間でブロックを評価します。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"
end
end
//} -
Gem
:: CommandManager # register _ command(command _ name) -> false (55225.0) -
コマンドを自身に登録します。
コマンドを自身に登録します。
@param command_name コマンド名をシンボルで指定します。 -
RDoc
:: Context # find _ enclosing _ module _ named(name) -> RDoc :: NormalModule | nil (55207.0) -
find a module at a higher scope
find a module at a higher scope -
REXML
:: Namespace # expanded _ name -> String (54973.0) -
REXML::Namespace#name= で設定された名前を返します。
REXML::Namespace#name= で設定された名前を返します。
name= で指定した名前が prefix を含んでいれば
prefix を含む名前を返し、そうでなければ
prefix を含まない名前を返します。
@see REXML::Namespace#prefix -
OptionParser
# program _ name -> String (54925.0) -
プログラムの名前を文字列で返します。
プログラムの名前を文字列で返します。
デフォルトは $0 が使われます。
@return プログラムの名前を文字列で返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
p $0 # => /path/to/filename.rb
p opts.program_name # => filename
end
//} -
REXML
:: Namespace # local _ name -> String (54910.0) -
prefix を含まない「ローカルな」名前を返します。
prefix を含まない「ローカルな」名前を返します。 -
Gem
:: Command # program _ name -> String (54907.0) -
コマンドラインで実行するときに使用するプログラム名を返します。
コマンドラインで実行するときに使用するプログラム名を返します。 -
Gem
:: Package :: TarReader :: Entry # full _ name -> String (54907.0) -
自身の完全な名前を返します。
自身の完全な名前を返します。 -
REXML
:: Namespace # fully _ expanded _ name -> String (54907.0) -
完全修飾名を返します。
完全修飾名を返します。 -
RSS
:: Element # tag _ name (54907.0) -
@todo
@todo -
Zlib
:: GzipFile # orig _ name -> String | nil (54907.0) -
gzip ファイルのヘッダーに記録されている元ファイル名を返します。 ファイル名が記録されていない場合は nil を返します。
gzip ファイルのヘッダーに記録されている元ファイル名を返します。
ファイル名が記録されていない場合は nil を返します。 -
BasicSocket
# getpeername -> String (54904.0) -
接続の相手先のソケットの情報を取得します。sockaddr 構造体をパッ クした文字列を返します。getpeername(2) を参照してください。
接続の相手先のソケットの情報を取得します。sockaddr 構造体をパッ
クした文字列を返します。getpeername(2) を参照してください。
例:
require 'socket'
serv = TCPServer.open("", 0)
c = TCPSocket.open(*Socket.unpack_sockaddr_in(serv.getsockname).reverse)
s = serv.accept
addr = c.getpeername
p addr #=> "\002\000\267\214\177\000\000\001\... -
BasicSocket
# getsockname -> String (54904.0) -
ソケットの情報を取得します。sockaddr 構造体をパックした 文字列を返します。getsockname(2) を参照してください。
ソケットの情報を取得します。sockaddr 構造体をパックした
文字列を返します。getsockname(2) を参照してください。
例:
require 'socket'
serv = TCPServer.open("", 0)
p serv.getsockname #=> "\002\000\236C\000\000\000\000\000\000\000\000\000\000\000\000"
p Socket.unpack_sockaddr_in(serv.getsockname) #=> [40515, "0.0.0.0"]
c ... -
Gem
:: Package :: TarHeader # linkname -> String (54904.0) -
tar のヘッダに含まれる linkname を返します。
tar のヘッダに含まれる linkname を返します。 -
Gem
:: Package :: TarHeader # uname -> String (54904.0) -
tar のヘッダに含まれるユーザ名を返します。
tar のヘッダに含まれるユーザ名を返します。 -
Logger
# progname -> String (54904.0) -
ログに出力するプログラム名を取得します。
ログに出力するプログラム名を取得します。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.progname # => nil
logger.progname = "MyProgName"
logger.progname # => "MyProgName"
//} -
Pathname
# extname -> String (54904.0) -
File.extname(self.to_s) と同じです。
File.extname(self.to_s) と同じです。
@see File.extname -
Rake
:: Task # arg _ names -> Array (54904.0) -
自身のパラメータ名のリストを返します。
自身のパラメータ名のリストを返します。 -
Rake
:: Task # set _ arg _ names(args) (54904.0) -
自身のパラメータの名前のリストをセットします。
自身のパラメータの名前のリストをセットします。
@param args シンボルのリストを指定します。 -
Resolv
# getname(address) -> String (54904.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果の最初のホスト名を文字列で返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果の最初のホスト名を文字列で返します。
@param address IPアドレスを文字列で与えます。
@raise Resolv::ResolvError ルックアップに失敗したときに発生します。 -
Resolv
# getnames(address) -> [String] (54904.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果のホスト名リストを返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果のホスト名リストを返します。
@param address IPアドレスを文字列で与えます。 -
Resolv
:: Hosts # getname(address) -> String (54904.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果の最初のホスト名を文字列で返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果の最初のホスト名を文字列で返します。
@param address IPアドレスを文字列で与えます。
@raise Resolv::ResolvError ルックアップに失敗したときに発生します。 -
Resolv
:: Hosts # getnames(address) -> [String] (54904.0) -
IP アドレス address のホスト名をルックアップし、 ルックアップ結果のホスト名リストを返します。
IP アドレス address のホスト名をルックアップし、
ルックアップ結果のホスト名リストを返します。
@param address IPアドレスを文字列で与えます。 -
Gem
:: DependencyList # remove _ by _ name(full _ name) -> Gem :: Specification (46546.0) -
与えられた名前を持つ Gem::Specification を自身から削除します。
与えられた名前を持つ Gem::Specification を自身から削除します。
このメソッドでは削除後の依存関係をチェックしません。
@param full_name バージョンを含むフルネームで Gem の名前を指定します。
@see Gem::Specification#full_name, Array#delete_if -
Gem
:: LoadError # name=(gem _ name) (46528.0) -
ロードに失敗した Gem の名前をセットします。
ロードに失敗した Gem の名前をセットします。
@param gem_name Gem の名前を指定します。 -
Gem
:: SourceIndex # gem _ signature(gem _ full _ name) -> String (46525.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Rake
:: PackageTask # name=(name) (46282.0) -
バージョン情報を含まないパッケージの名前をセットします。
バージョン情報を含まないパッケージの名前をセットします。
@param name パッケージの名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.name # => "sample"
package_task.name = "update"
package_task.name # => "update"
end
//} -
Gem
:: Specification # name=(name) (46228.0) -
この Gem パッケージの名前をセットします。
この Gem パッケージの名前をセットします。
@param name この Gem パッケージの名前を指定します。 -
Etc
:: Group # name=(name) (46210.0) -
グループ名を設定します。
グループ名を設定します。