3101件ヒット
[1-100件を表示]
(0.119秒)
ライブラリ
- ビルトイン (1462)
- benchmark (12)
-
cgi
/ core (48) - csv (36)
- delegate (12)
- erb (36)
- fiber (8)
- fiddle (24)
- getoptlong (36)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) -
minitest
/ mock (1) -
minitest
/ spec (1) -
minitest
/ unit (3) - mkmf (60)
-
net
/ ftp (96) - observer (12)
- openssl (36)
- optparse (300)
- pathname (120)
- rake (192)
-
rdoc
/ rdoc (12) -
rexml
/ document (24) -
rexml
/ sax2listener (12) - ripper (24)
-
rubygems
/ command (60) -
rubygems
/ command _ manager (24) -
rubygems
/ config _ file (12) -
rubygems
/ doc _ manager (12) -
rubygems
/ gem _ runner (12) -
rubygems
/ user _ interaction (108) - set (18)
- win32ole (120)
- zlib (12)
クラス
-
ARGF
. class (738) - BasicObject (48)
-
Benchmark
:: Tms (12) - BigDecimal (12)
- CSV (12)
-
CSV
:: Row (24) - Class (12)
- Complex (48)
- Data (3)
- Date (12)
- DateTime (12)
- Delegator (12)
- ERB (36)
- Enumerator (60)
-
Enumerator
:: Lazy (6) - Exception (12)
- Fiber (24)
-
Fiddle
:: Closure :: BlockCaller (12) -
Fiddle
:: Function (12) -
Gem
:: Command (60) -
Gem
:: CommandManager (24) -
Gem
:: ConfigFile (12) -
Gem
:: DocManager (12) -
Gem
:: GemRunner (12) -
Gem
:: StreamUI (12) - GetoptLong (36)
- Hash (24)
- IO (48)
- Method (56)
-
MiniTest
:: Mock (1) -
MiniTest
:: Unit (2) - Module (24)
-
Net
:: FTP (96) - Numeric (36)
- Object (145)
- OpenStruct (12)
- OptionParser (204)
-
OptionParser
:: ParseError (24) - Pathname (120)
- Proc (48)
-
RDoc
:: Options (12) -
RDoc
:: RDoc (12) -
REXML
:: Attribute (12) -
REXML
:: Instruction (12) -
Rake
:: Task (12) -
Rake
:: TaskArguments (84) - Range (12)
- Rational (24)
- Regexp (12)
- Ripper (24)
- String (30)
- Struct (12)
- Symbol (12)
- Thread (24)
- Time (12)
- UnboundMethod (12)
- WIN32OLE (72)
-
WIN32OLE
_ EVENT (24) -
WIN32OLE
_ METHOD (12) -
WIN32OLE
_ TYPE (12) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: QueryExtension (36) -
CGI
:: QueryExtension :: Value (12) - Enumerable (103)
- FileUtils (24)
-
Gem
:: UserInteraction (96) - Kernel (96)
-
MiniTest
:: Assertions (1) - Observable (12)
-
OpenSSL
:: Buffering (24) -
OpenSSL
:: SSL :: SocketForwarder (12) -
OptionParser
:: Arguable (72) -
REXML
:: SAX2Listener (12) -
Rake
:: TaskManager (36)
キーワード
- % (12)
- << (12)
- === (32)
- [] (60)
-
_ _ send _ _ (24) -
_ dump (12) -
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
add
_ extra _ args (12) -
add
_ trace _ func (12) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) - angle (24)
-
arg
_ config (12) - args (12)
- ask (12)
-
ask
_ yes _ no (12) -
assert
_ raises (1) -
bind
_ call (12) - binmode (12)
- binmode? (12)
- binread (12)
- call (60)
-
choose
_ from _ list (12) -
class
_ exec (12) - close (12)
- closed? (12)
- concat (9)
- convert (12)
-
create
_ makefile (12) -
create
_ rule (12) -
def
_ class (12) -
def
_ module (12) -
default
_ argv (12) -
default
_ argv= (12) -
default
_ event _ sources (12) -
define
_ task (12) - dir (24)
-
dir
_ config (12) - document (12)
- each (120)
-
each
_ byte (24) -
each
_ char (24) -
each
_ line (72) -
each
_ option (12) -
each
_ with _ index (24) -
each
_ with _ object (12) - entries (12)
-
enum
_ for (24) - eof (12)
- eof? (12)
- expect (1)
-
external
_ encoding (12) - fcntl (24)
- file (12)
- fileno (12)
- fnmatch (12)
- fnmatch? (12)
- format (12)
-
get
_ one _ optional _ argument (12) - getbyte (12)
- getc (12)
- getopts (24)
- gets (36)
-
handle
_ arguments (12) - handles? (12)
-
has
_ key? (12) - help (12)
- include? (12)
- initialize (12)
-
inplace
_ mode (12) -
inplace
_ mode= (12) - inspect (18)
-
instance
_ exec (12) -
internal
_ encoding (12) - invkind (12)
- invoke (24)
- ioctl (24)
- join (12)
- key? (12)
- lineno (12)
- lineno= (12)
- lines (42)
- list (24)
- lookup (12)
- ls (24)
-
marshal
_ dump (12) -
method
_ missing (36) - mkdir (12)
- modified? (12)
-
module
_ exec (12) -
must
_ raise (1) - namespace (12)
- new (12)
-
new
_ scope (12) -
notify
_ observers (12) -
on
_ event (12) -
on
_ event _ with _ outargs (12) -
on
_ head (12) -
on
_ tail (12) - order (48)
- order! (48)
- parse (36)
- parse! (24)
- permute (24)
- permute! (24)
- phase (24)
- pos (12)
- pos= (12)
- prepend (9)
- print (36)
- printf (48)
-
process
_ args (13) -
processing
_ instruction (12) -
progress
_ reporter (12) -
public
_ send (24) - push (12)
- putc (12)
- puts (12)
- read (24)
-
read
_ nonblock (12) - readbyte (12)
- readchar (12)
- readline (36)
- readlines (48)
- readpartial (12)
- recover (12)
-
resolve
_ args (12) - resume (12)
- ruby (12)
- rule (12)
- run (25)
-
run
_ rdoc (12) -
safe
_ ln (12) - say (12)
- seek (12)
- send (24)
-
set
_ arg _ names (12) -
set
_ encoding (36) -
set
_ trace _ func (12) - setproperty (12)
- shift (12)
- site (12)
- src (12)
- sysopen (12)
- target= (12)
- task (12)
- tell (12)
-
terminate
_ interaction (12) -
to
_ a (48) -
to
_ enum (24) -
to
_ h (19) -
to
_ i (12) -
to
_ io (12) -
to
_ json (144) -
to
_ s (18) -
to
_ set (24) - transfer (12)
- warn (12)
- warning (12)
- with (3)
-
with
_ defaults (12) -
with
_ index (6) -
with
_ object (12) - write (12)
- yield (12)
検索結果
先頭5件
-
Complex
# arg -> Float (15162.0) -
自身の偏角を[-π,π]の範囲で返します。
...3, Math::PI/2).arg # => 1.5707963267948966
//}
非正の実軸付近での挙動に注意してください。以下の例のように虚部が 0.0 と
-0.0 では値が変わります。
//emlist[例][ruby]{
Complex(-1, 0).arg #=> 3.141592653589793
Complex(-1, -0).arg #=......> 3.141592653589793
Complex(-1, -0.0).arg #=> -3.141592653589793
Complex(0, 0.0).arg #=> 0.0
Complex(0, -0.0).arg #=> -0.0
Complex(-0.0, 0).arg #=> 3.141592653589793
Complex(-0.0, -0.0).arg #=> -3.141592653589793
//}
@see Numeric#arg... -
Numeric
# arg -> 0 | Math :: PI (15126.0) -
自身の偏角(正の数なら 0、負の数なら Math::PI)を返します。
...自身の偏角(正の数なら 0、負の数なら Math::PI)を返します。
//emlist[例][ruby]{
1.arg # => 0
-1.arg # => 3.141592653589793
//}
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
@see Complex#arg... -
Rake
:: TaskManager # resolve _ args(args) -> Array (6219.0) -
タスクやルールに与えられたパラメータを解釈します。
...タスクやルールに与えられたパラメータを解釈します。
@param args パラメータを指定します。
@return [task_name, arg_name_list, prerequisites] を返します。... -
WIN32OLE
_ EVENT # on _ event _ with _ outargs(event = nil) {|*args| . . . } -> () (6219.0) -
イベント通知を受けて結果を呼び出し元へ返すブロックを登録します。
...に戻り値を
設定できます。
@param event イベント名を文字列かシンボルで指定します。イベント名は大文
字小文字を区別します。省略時にはすべてのイベントが対象となります。
@param args サーバがイベント通知時......
@raise WIN32OLERuntimeError WIN32OLE_EVENT#unadviseによってイベン
トソースと切断済みです。
ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
ev.on_event('BeforeNavigate2') do |*args|
args[6]......= true unless args[4] # Cancel = true unless PostData
end
当メソッドはイベント名の大文字小文字を区別するほか、イベント名の存在確
認を行いません。このため、誤ったイベント名を記述してもエラーとはならず、
単にイベントを... -
Gem
:: ConfigFile # handle _ arguments(arg _ list) (6214.0) -
コマンドに渡された引数を処理します。
...コマンドに渡された引数を処理します。
@param arg_list コマンドに渡された引数の配列を指定します。... -
MiniTest
:: Unit # process _ args(args = []) -> Hash (6213.0) -
optparse を使ってコマンドライン引数を解析した結果を返します。
...optparse を使ってコマンドライン引数を解析した結果を返します。
@param args コマンドライン引数を指定します。
@see optparse... -
Rake
:: Task # set _ arg _ names(args) (6208.0) -
自身のパラメータの名前のリストをセットします。
...自身のパラメータの名前のリストをセットします。
@param args シンボルのリストを指定します。... -
Gem
:: Command # add _ extra _ args(args) -> Array (6207.0) -
$HOME/.gemrc から読み込んだ引数を追加します。
...$HOME/.gemrc から読み込んだ引数を追加します。
@param args 追加する引数を配列で指定します。... -
Gem
:: CommandManager # process _ args(args) -> () (6207.0) -
引数 args を処理して gem コマンドを実行するために必要な処理を行います。
...引数 args を処理して gem コマンドを実行するために必要な処理を行います。
@param args コマンドラインから受け取った引数を指定します。... -
OptionParser
# default _ argv=(argv) (6207.0) -
自身がデフォルトでパースする引数を文字列の配列で指定します。
...す。
@param argv デフォルトでパースしたい文字列の配列を指定します。
//emlist[例][ruby]{
require "optparse"
config = {}
opts = OptionParser.new
opts.on("-r", "--require LIBRARY"){|lib| config[:lib] = lib }
# パラメーター指定なしで実行
opts.default_argv # =......> []
opts.parse!
p config # => {}
opts.default_argv = ["--require", "lib1"] # => ["--require", "lib"]
opts.default_argv # => ["--require", "param1"]
opts.parse!
p config # => {:lib=>"lib1"}
//}...