3116件ヒット
[1-100件を表示]
(0.132秒)
種類
ライブラリ
- ビルトイン (829)
- etc (22)
- fileutils (88)
- kconv (22)
- mkmf (88)
-
net
/ ftp (165) -
net
/ http (22) -
net
/ imap (11) -
net
/ smtp (56) - nkf (11)
- openssl (11)
- pathname (44)
- rbconfig (11)
-
rdoc
/ context (11) -
rdoc
/ top _ level (11) - resolv-replace (22)
-
rexml
/ document (22) -
rexml
/ sax2listener (22) -
rubygems
/ dependency _ installer (11) -
rubygems
/ gem _ path _ searcher (11) - shell (12)
- socket (506)
- syslog (253)
- time (22)
- timeout (19)
-
webrick
/ httpservlet / filehandler (11) -
win32
/ registry (198) - win32ole (44)
クラス
- Addrinfo (99)
- BasicSocket (33)
- Binding (43)
- Encoding (11)
-
File
:: Stat (22) -
Gem
:: DependencyInstaller (11) -
Gem
:: GemPathSearcher (11) - LocalJumpError (11)
- Module (22)
- NameError (20)
-
Net
:: FTP (165) -
Net
:: HTTP (22) -
Net
:: IMAP :: Address (11) -
Net
:: SMTP (56) - Object (22)
- Pathname (44)
-
RDoc
:: Context (11) -
RDoc
:: TopLevel (11) -
RubyVM
:: InstructionSequence (33) - Shell (12)
- Socket (187)
-
Socket
:: AncillaryData (11) -
Socket
:: UDPSource (11) - String (11)
- TCPSocket (44)
- Thread (11)
- Time (568)
- TracePoint (11)
-
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) - WIN32OLE (44)
-
Win32
:: Registry (99)
モジュール
- Etc (22)
- FileUtils (88)
-
Gem
:: LocalRemoteOptions (99) - Kconv (11)
- Kernel (154)
-
OpenSSL
:: X509 (11) -
REXML
:: Namespace (22) -
REXML
:: SAX2Listener (22) - RbConfig (11)
-
Socket
:: Constants (143) -
Syslog
:: Facility (253) - Timeout (19)
-
Win32
:: Registry :: Constants (99)
オブジェクト
- ENV (11)
キーワード
-
$ -I (11) -
$ : (11) -
$ LOAD _ PATH (11) -
$ archdir (11) -
$ hdrdir (11) -
$ libdir (11) -
$ sitearchdir (11) -
$ sitelibdir (11) -
$ topdir (11) - + (11)
- - (22)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - <=> (11)
-
AF
_ LAT (22) -
AF
_ LOCAL (22) -
AF
_ UNIX (22) -
HKEY
_ CLASSES _ ROOT (22) -
HKEY
_ CURRENT _ CONFIG (22) -
HKEY
_ CURRENT _ USER (22) -
HKEY
_ DYN _ DATA (22) -
HKEY
_ LOCAL _ MACHINE (22) -
HKEY
_ PERFORMANCE _ DATA (22) -
HKEY
_ PERFORMANCE _ NLSTEXT (22) -
HKEY
_ PERFORMANCE _ TEXT (22) -
HKEY
_ USERS (22) -
INADDR
_ MAX _ LOCAL _ GROUP (22) -
LOCALE
_ SYSTEM _ DEFAULT (11) -
LOCALE
_ USER _ DEFAULT (11) -
LOCAL
_ CONNWAIT (22) -
LOCAL
_ CREDS (22) -
LOCAL
_ PEERCRED (22) -
LOG
_ AUTH (11) -
LOG
_ AUTHPRIV (11) -
LOG
_ CONSOLE (11) -
LOG
_ CRON (11) -
LOG
_ DAEMON (11) -
LOG
_ FTP (11) -
LOG
_ KERN (11) -
LOG
_ LOCAL0 (11) -
LOG
_ LOCAL1 (11) -
LOG
_ LOCAL2 (11) -
LOG
_ LOCAL3 (11) -
LOG
_ LOCAL4 (11) -
LOG
_ LOCAL5 (11) -
LOG
_ LOCAL6 (11) -
LOG
_ LOCAL7 (11) -
LOG
_ LPR (11) -
LOG
_ MAIL (11) -
LOG
_ NEWS (11) -
LOG
_ NTP (11) -
LOG
_ SECURITY (11) -
LOG
_ SYSLOG (11) -
LOG
_ USER (11) -
LOG
_ UUCP (11) - LocalRemoteOptions (11)
-
MAKEFILE
_ CONFIG (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NI
_ NOFQDN (22) - NKF (11)
-
PF
_ LAT (22) -
PF
_ LOCAL (22) -
PF
_ UNIX (22) - ReFe (11)
- Rubyの起動 (11)
- Ruby用語集 (11)
-
SCRIPT
_ LINES _ _ (11) -
SC
_ 2 _ LOCALEDEF (11) -
SO
_ REUSEADDR (22) -
SO
_ REUSEPORT (22) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (11) - [] (22)
-
accept
_ uri _ http (11) -
add
_ bulk _ threshold _ option (11) -
add
_ proxy _ option (11) -
add
_ source _ option (11) -
add
_ update _ sources _ option (11) - asctime (11)
- bigdecimal (11)
- binary (11)
- binary= (11)
- bind (22)
- binding (11)
- both? (11)
- cgi (11)
- chown (11)
-
chown
_ R (11) -
class
_ variables (11) -
connect
_ address (11) - constants (11)
- ctime (11)
- day (11)
-
dir
_ config (11) - disasm (11)
- disassemble (11)
- dst? (11)
-
each
_ child (22) -
each
_ entry (11) -
end
_ element (11) - entries (11)
- eql? (11)
-
exit
_ value (11) -
find
_ executable (11) -
find
_ local _ symbol (22) - friday? (11)
- get (22)
- getbinaryfile (22)
- getgm (11)
- getlocal (22)
- getsockopt (11)
- gettextfile (22)
- getutc (11)
-
global
_ variables (11) - gmt? (11)
- gmtime (11)
- grpowned? (11)
- hour (11)
- install (11)
-
instance
_ variables (11) -
ipv6
_ linklocal? (11) -
ipv6
_ mc _ linklocal? (11) -
ipv6
_ mc _ nodelocal? (11) -
ipv6
_ mc _ orglocal? (11) -
ipv6
_ mc _ sitelocal? (11) -
ipv6
_ sitelocal? (11) -
ipv6
_ unique _ local? (11) - irb (11)
-
irb
/ locale (11) - isdst (11)
-
jump
_ tag _ but _ local _ jump (11) -
lib
_ dirs _ for (11) -
ln
_ s (11) - local? (11)
-
local
_ address (22) -
local
_ append (11) -
local
_ cnt (11) -
local
_ host (11) -
local
_ id (11) -
local
_ name (11) -
local
_ pop (11) -
local
_ port (11) -
local
_ push (11) -
local
_ tbl (11) -
local
_ variable _ defined? (11) -
local
_ variable _ get (11) -
local
_ variable _ set (11) -
local
_ variables (30) - locale (11)
- locale= (11)
-
locale
_ charmap (11) -
localjump
_ error (11) -
localjump
_ exitstatus (11) - localtime (22)
- mailbox (11)
- makedirs (11)
- mday (11)
- min (11)
-
mkdir
_ p (11) - mkpath (11)
- mktime (22)
- mon (11)
- monday? (11)
- month (11)
- mtime (11)
- name (11)
- new (44)
- nsec (11)
- open (22)
- optparse (11)
- owned? (11)
- parse (22)
- pushd (6)
- pushdir (6)
- put (22)
- putbinaryfile (22)
- puttextfile (22)
-
rb
_ f _ local _ variables (11) -
rb
_ is _ local _ id (11) -
rb
_ thread _ local _ aref (11) -
rb
_ thread _ local _ aset (11) - remote? (11)
-
require
_ relative (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ security (11) - saturday? (11)
-
scope
_ dup (11) -
special
_ local _ set (11) - start (56)
-
start
_ element (11) - strftime (11)
- subsec (11)
- succ (7)
- sunday? (11)
- symlink (11)
- sysconfdir (11)
- tcp (22)
- thursday? (11)
- timeout (19)
-
to
_ a (22) -
to
_ f (11) -
to
_ i (11) -
to
_ r (11) -
to
_ s (22) - tolocale (22)
-
top
_ local _ init (11) -
top
_ local _ setup (11) - tuesday? (11)
-
tv
_ nsec (11) -
tv
_ sec (11) -
tv
_ usec (11) -
unix
_ server _ socket (22) - usec (11)
- utc (11)
- utc? (11)
-
webrick
/ cgi (11) - wednesday? (11)
- year (11)
- 変数と定数 (11)
検索結果
先頭5件
-
Time
. local(year , mon = 1 , day = 1 , hour = 0 , min = 0 , sec = 0 , usec = 0) -> Time (21208.0) -
引数で指定した地方時の Time オブジェクトを返します。
...引数で指定した地方時の Time オブジェクトを返します。
第2引数以降に nil を指定した場合の値はその引数がとり得る最小の値です。
@param year 年を整数か文字列で指定します。例えば 1998 年に対して 1998 を指定します。
@p......定します。
@param min 分を 0 から 59 までの整数か文字列で指定します。
@param sec 秒を 0 から 60 までの整数か文字列で指定します。(60はうるう秒)
@param usec マイクロ秒を整数か文字列で指定します。
@raise ArgumentError 与えら......れた引数の範囲が valid でない場合に発生します。
//emlist[][ruby]{
p Time.local(2000, 1, 1) # => 2000-01-01 00:00:00 +0900
//}... -
Time
. local(sec , min , hour , mday , mon , year , wday , yday , isdst , zone) -> Time (21203.0) -
引数で指定した地方時の Time オブジェクトを返します。
...引数で指定した地方時の Time オブジェクトを返します。
引数の順序は Time#to_a と全く同じです。
引数 wday, yday, zone に指定した値は無視されます。
引数に nil を指定した場合の値はその引数がとり得る最小の値です。
@param......sec 秒を 0 から 60 までの整数か文字列で指定します。(60はうるう秒)
@param min 分を 0 から 59 までの整数か文字列で指定します。
@param hour 時を 0 から 23 までの整数か文字列で指定します。
@param mday 日を 1 から 31 までの整......されます。
@param isdst 指定した日時が夏時間(Daylight Saving Time)なら true を指定します。
そうでないなら、false を指定します。
@param zone 無視されます。
@raise ArgumentError 与えられた引数の範囲が valid でない場合に発... -
Binding
# local _ variable _ defined?(symbol) -> bool (18231.0) -
引数 symbol で指定した名前のローカル変数が定義されている場合に true を、 そうでない場合に false を返します。
...mlist[例][ruby]{
def foo
a = 1
binding.local_variable_defined?(:a) # => true
binding.local_variable_defined?(:b) # => false
end
//}
このメソッドは以下のコードの短縮形です。
//emlist[][ruby]{
binding.eval("defined?(#{symbol}) == 'local-variable'")
//}
@see Binding#local_......variable_get, Binding#local_variable_set... -
Gem
:: LocalRemoteOptions # add _ local _ remote _ options (18217.0) -
オプション --local, --remote, --both を追加します。
...オプション --local, --remote, --both を追加します。... -
TracePoint
# binding -> Binding (15406.0) -
発生したイベントによって生成された Binding オブジェクトを返します。
...発生したイベントによって生成された Binding オブジェクトを返します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}... -
TracePoint
# binding -> Binding | nil (15406.0) -
発生したイベントによって生成された Binding オブジェクトを返します。
...れた Binding オブジェクトを返します。
C で記述されたメソッドは binding を生成しないため、
:c_call および :c_return イベントに対しては nil を返すことに注意してください。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:......call) do |tp|
p tp.binding.local_variables # => [:ret]
end
trace.enable
foo 1
//}... -
Binding
# local _ variable _ set(symbol , obj) (15249.0) -
引数 symbol で指定した名前のローカル変数に引数 obj を設定します。
...mlist[例][ruby]{
def foo
a = 1
bind = binding
bind.local_variable_set(:a, 2) # set existing local variable `a'
bind.local_variable_set(:b, 3) # create new local variable `b'
# `b' exists only in binding
p bind.local_variable_get(:a) # => 2
p bind.local_......variable_get(:b) # => 3
p a # => 2
p b # => NameError
end
//}
このメソッドは以下のコード(ただし、obj が Ruby のコードで出力される場
合)と同様の動作をします。
//emlist[][ruby]{
binding.eval("#{symbol......} = #{obj}")
//}
@see Binding#local_variable_get, Binding#local_variable_defined?... -
Binding
# local _ variable _ get(symbol) -> object (15225.0) -
引数 symbol で指定した名前のローカル変数に設定された値を返します。
...mbol オブジェクトで指定します。
@raise NameError 引数 symbol で指定したローカル変数が未定義の場合に発生します。
//emlist[例][ruby]{
def foo
a = 1
binding.local_variable_get(:a) # => 1
binding.local_variable_get(:b) # => NameError
end
//}
このメソ......ッドは以下のコードの短縮形です。
//emlist[][ruby]{
binding.eval("#{symbol}")
//}
@see Binding#local_variable_set, Binding#local_variable_defined?... -
Binding
# local _ variables -> [Symbol] (15213.0) -
ローカル変数の一覧を Symbol の配列で返します。
...カル変数の一覧を Symbol の配列で返します。
//emlist[例][ruby]{
def foo
a = 1
2.times do |n|
binding.local_variables #=> [:a, :n]
end
end
//}
このメソッドは以下のコードと同様の動作をします。
//emlist[][ruby]{
binding.eval("local_variables")
//}... -
Addrinfo
# ipv6 _ linklocal? -> bool (15200.0) -
IPv6 のリンクローカルアドレス(fe80::/10, 4291)であれば真を返します。
...IPv6 のリンクローカルアドレス(fe80::/10, 4291)であれば真を返します。... -
Addrinfo
# ipv6 _ mc _ linklocal? -> bool (15200.0) -
IPv6 のマルチキャスト(リンクローカルスコープ)アドレスであれば真を返します。
...IPv6 のマルチキャスト(リンクローカルスコープ)アドレスであれば真を返します。...