2498件ヒット
[1-100件を表示]
(0.077秒)
別のキーワード
ライブラリ
- ビルトイン (208)
- bigdecimal (12)
-
bigdecimal
/ util (12) - csv (174)
- etc (12)
-
fiddle
/ import (24) - json (372)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - matrix (144)
- monitor (54)
-
net
/ http (216) - open-uri (24)
- optparse (660)
- pathname (24)
- prime (36)
- rake (12)
-
rexml
/ document (48) -
rexml
/ streamlistener (12) - rubygems (12)
-
rubygems
/ requirement (60) -
rubygems
/ specification (84) - set (36)
- socket (48)
- strscan (12)
- thread (12)
- tsort (58)
- win32ole (12)
クラス
- Addrinfo (36)
- Array (12)
- BigDecimal (24)
- CSV (120)
-
CSV
:: Row (6) -
CSV
:: Table (24) - Class (12)
- Complex (12)
- Date (12)
- DateTime (12)
- Exception (36)
-
Gem
:: Requirement (60) -
Gem
:: Specification (84) - IO (12)
- Integer (12)
-
JSON
:: Parser (24) -
JSON
:: State (216) - Matrix (132)
-
Matrix
:: LUPDecomposition (12) - Method (12)
- Module (12)
- Monitor (42)
-
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (12) -
Net
:: HTTPResponse (108) - OptionParser (576)
- Pathname (24)
- Prime (24)
-
REXML
:: Document (24) -
REXML
:: Instruction (24) -
Rake
:: Application (12) - Range (12)
- Rational (24)
- Regexp (12)
-
RubyVM
:: InstructionSequence (24) - Set (36)
- Socket (12)
- String (12)
- StringScanner (12)
- Struct (12)
-
Thread
:: Queue (36) -
Thread
:: SizedQueue (36) - Time (12)
- UnboundMethod (12)
-
WIN32OLE
_ TYPE (12)
モジュール
- Enumerable (64)
-
Fiddle
:: Importer (24) -
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (24)
- MonitorMixin (12)
-
Net
:: HTTPExceptions (12) -
Net
:: HTTPHeader (72) -
OpenURI
:: Meta (24) -
OptionParser
:: Arguable (84) -
REXML
:: StreamListener (12) - TSort (58)
キーワード
- == (12)
- === (12)
- =~ (12)
- JSON (12)
- accept (12)
-
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ loader (12) -
add
_ runtime _ dependency (12) -
allow
_ nan? (12) -
array
_ nl (12) -
array
_ nl= (12) - autoload (12)
-
backtrace
_ locations (12) - bind (12)
- binread (12)
- body (12)
- canonname (12)
-
check
_ circular? (12) - cleanpath (12)
- clone (9)
- code (12)
-
cofactor
_ expansion (12) - component (12)
- concat (24)
- configure (12)
- conj (12)
- conjugate (12)
- connect (12)
-
connect
_ from (24) - content (12)
-
content
_ encoding (12) -
content
_ length (12) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (24) -
content
_ type= (12) - convert (36)
- converters (12)
- deconstruct (3)
-
deconstruct
_ keys (3) -
default
_ argv (12) -
default
_ argv= (12) -
default
_ event _ sources (12) - deq (24)
- dup (9)
-
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - eigen (12)
- eigensystem (12)
- enter (12)
- entity (12)
- entitydecl (12)
- environment (12)
- exit (12)
-
field
_ size _ limit (12) -
first
_ lineno (12) - gem (12)
- getopts (12)
- head (12)
-
header
_ convert (36) -
header
_ converters (12) - help (12)
-
http
_ version (12) - indent (12)
- indent= (12)
-
int
_ from _ prime _ division (12) - intersection (9)
-
json
_ creatable? (12) -
laplace
_ expansion (12) - load (12)
- lup (12)
-
lup
_ decomposition (12) -
max
_ nesting (12) -
max
_ nesting= (12) - merge (12)
-
mon
_ enter (18) -
mon
_ exit (6) - msg (12)
- none? (44)
- nonzero? (12)
-
object
_ nl (12) -
object
_ nl= (12) -
on
_ head (12) -
on
_ tail (12) - one? (32)
- order (48)
- order! (48)
- parse (36)
- parse! (24)
-
parse
_ csv (12) - pathconf (12)
- permute (24)
- permute! (24)
- pop (24)
-
prime
_ division (24) -
program
_ name (12) -
program
_ name= (12) -
read
_ body (24) - reject (12)
- release (12)
-
required
_ ruby _ version (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version (12) -
required
_ rubygems _ version= (12) - response (12)
-
response
_ body _ permitted? (12) -
satisfied
_ by? (12) - separator (12)
-
set
_ content _ type (12) - shift (24)
- solve (12)
- source (12)
-
source
_ location (24) - space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) -
stand
_ alone? (12) -
strongly
_ connected _ components (12) - summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - target (12)
-
to
_ a (24) -
to
_ csv (24) -
to
_ d (12) -
to
_ h (12) -
to
_ hash (12) -
to
_ json (228) -
to
_ s (24) - tr (12)
- trace (12)
-
unconverted
_ fields? (12) - union (21)
- value (12)
- ver (12)
- version (12)
-
wait
_ for _ cond (6)
検索結果
先頭5件
-
RubyVM
:: InstructionSequence # to _ a -> Array (29031.0) -
self の情報を 14 要素の配列にして返します。
...。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージョン。
: format_type
データフ......。
: args
引数の指定が必須のメソッド、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]
より詳細な情報については......構成する命令とオペランドの配列の配列。
//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_size=>0, :local_size=>2,... -
RubyVM
:: InstructionSequence # first _ lineno -> Integer (29007.0) -
self が表す命令シーケンスの 1 行目の行番号を返します。
...の 1 行目の行番号を返します。
例1:irb で実行した場合
RubyVM::InstructionSequence.compile('num = 1 + 2').first_lineno
# => 1
例2:
# /tmp/method.rb
require "foo-library"
def foo
p :foo
end
RubyVM::InstructionSequence.of(method(:foo)).first_lineno
# => 2... -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (27535.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
...この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。... -
Gem
:: Specification # required _ ruby _ version=(requirement) (27535.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
...この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement... -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (27501.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。... -
Gem
:: Specification # required _ rubygems _ version=(requirement) (27501.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement... -
OptionParser
# on(long , desc = "") {|v| . . . } -> self (21338.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...ます。
opts.on("-r", "--require LIBRARY"){|lib| ...}
これは以下と同値です。
opts.on("-r LIBRARY"){|lib| ...}
opts.on("--require LIBRARY"){|lib| ...}
複数の異なるオプションに同じブロックを一度に登録することもできます。
opt.on('-v', '-vv'){|boo......lean| ...}
opt.on('--require X', '--need', '--dependon'){|x| ... }
@param short ショートオプションを表す文字列を指定します。
そのオプションが引数をとらない場合は、
//emlist{
on("-x"){|boolean| ...}
//}
となります。コマ......list{
on("-x MANDATORY"){|val| ...} # " MANDATORY" の部分は任意の文字列で構いません
on("-xSTRING"){|val| ...} # スペース無しで任意の文字列を入れても同様
//}
オプションの引数が必須でない場合は [ ] をつけて、
//emlist{
on("-x... -
OptionParser
# on(short , long , desc = "") {|v| . . . } -> self (21338.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...ます。
opts.on("-r", "--require LIBRARY"){|lib| ...}
これは以下と同値です。
opts.on("-r LIBRARY"){|lib| ...}
opts.on("--require LIBRARY"){|lib| ...}
複数の異なるオプションに同じブロックを一度に登録することもできます。
opt.on('-v', '-vv'){|boo......lean| ...}
opt.on('--require X', '--need', '--dependon'){|x| ... }
@param short ショートオプションを表す文字列を指定します。
そのオプションが引数をとらない場合は、
//emlist{
on("-x"){|boolean| ...}
//}
となります。コマ......list{
on("-x MANDATORY"){|val| ...} # " MANDATORY" の部分は任意の文字列で構いません
on("-xSTRING"){|val| ...} # スペース無しで任意の文字列を入れても同様
//}
オプションの引数が必須でない場合は [ ] をつけて、
//emlist{
on("-x... -
OptionParser
# on(long , pat = / . * / , desc = "") {|v| . . . } -> self (21298.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
...ーンにマッチしない場合、
例外 OptionParser::InvalidArgument が parse 実行時に投げられます。
opts.on("--username VALUE", /[a-zA-Z0-9_]+/){|name| ...}
# ruby command --username=ruby_user
# ruby command --username=ruby.user #=> Error
@param short ショートオプシ......ョンを表す文字列を指定します。
@param long ロングオプションを表す文字列を指定します。
@param pat オプションの引数に許すパターンを表す正規表現で指定します。
@param desc オプションの説明を文字列で与えます。サマリ...