4456件ヒット
[4401-4456件を表示]
(0.063秒)
別のキーワード
ライブラリ
- ビルトイン (2252)
-
bigdecimal
/ util (12) -
cgi
/ core (12) - csv (150)
- date (4)
- etc (12)
- fiddle (12)
-
fiddle
/ import (24) -
irb
/ context (48) - json (216)
-
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 (120)
- mkmf (12)
- monitor (24)
-
net
/ http (300) - optparse (600)
- pathname (24)
- prime (36)
- rake (48)
-
rake
/ testtask (12) -
rexml
/ streamlistener (12) -
ripper
/ filter (12) - rubygems (12)
-
rubygems
/ installer (12) -
rubygems
/ requirement (48) -
rubygems
/ specification (84) -
rubygems
/ version (48) - set (36)
- socket (36)
- strscan (12)
- thread (16)
- timeout (8)
- tsort (58)
- win32ole (24)
クラス
- Addrinfo (24)
- Array (196)
- BasicObject (36)
- BigDecimal (12)
- CGI (12)
- CSV (120)
-
CSV
:: Row (6) - Complex (48)
- Data (6)
- Date (14)
- DateTime (14)
-
Encoding
:: Converter (180) -
Encoding
:: InvalidByteSequenceError (12) -
Enumerator
:: Lazy (24) - Exception (92)
- Fiber (6)
-
Fiddle
:: Function (12) - File (12)
- Float (24)
-
Gem
:: Installer (12) -
Gem
:: Requirement (48) -
Gem
:: Specification (84) -
Gem
:: Version (48) - Hash (24)
- IO (180)
-
IRB
:: Context (48) - Integer (36)
-
JSON
:: Parser (12) -
JSON
:: State (84) - MatchData (4)
- Matrix (108)
-
Matrix
:: LUPDecomposition (12) - Method (12)
- Module (180)
- Monitor (24)
- Mutex (2)
-
Net
:: HTTP (216) -
Net
:: HTTPResponse (36) - NilClass (24)
- Numeric (48)
- Object (120)
- OptionParser (540)
- Pathname (24)
- Prime (24)
- Proc (12)
-
Rake
:: Application (24) -
Rake
:: InvocationChain (24) -
Rake
:: TestTask (12) - Range (12)
- Rational (315)
- Regexp (12)
-
Ripper
:: Filter (12) -
RubyVM
:: InstructionSequence (94) - Set (48)
- Socket (12)
- String (204)
- StringScanner (12)
- Struct (36)
- Thread (70)
-
Thread
:: Backtrace :: Location (72) -
Thread
:: ConditionVariable (24) -
Thread
:: Mutex (10) -
Thread
:: Queue (36) -
Thread
:: SizedQueue (36) - Time (26)
- TracePoint (19)
- UnboundMethod (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12)
モジュール
- Enumerable (144)
-
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 (44)
-
Net
:: HTTPHeader (48) -
OptionParser
:: Arguable (60) -
REXML
:: StreamListener (12) - TSort (58)
キーワード
- * (12)
- ** (12)
- + (12)
- - (12)
- -@ (9)
-
/ (12) - <=> (24)
- == (24)
- === (24)
- =~ (12)
- JSON (12)
-
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) -
absolute
_ path (24) - accept (12)
-
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ loader (12) -
add
_ runtime _ dependency (12) -
allow
_ nan? (12) - append (12)
-
arg
_ config (12) - autoload (12)
- autoload? (12)
- backtrace (12)
-
backtrace
_ locations (36) -
base
_ label (24) - bind (12)
- binread (12)
- broadcast (12)
- byteindex (3)
- call (12)
- capitalize (9)
- capitalize! (9)
- ceil (12)
- cleanpath (12)
- clone (48)
- coerce (12)
-
cofactor
_ expansion (12) -
collect
_ concat (12) - combination (24)
- component (12)
- concat (66)
- configure (12)
- conj (12)
- conjugate (12)
- connect (12)
-
connect
_ from (24) -
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (12) -
const
_ set (12) -
const
_ source _ location (12) - constants (12)
-
content
_ length (12) -
content
_ length= (12) -
content
_ type= (12) - convert (48)
- converters (12)
- convpath (12)
- deconstruct (14)
-
deconstruct
_ keys (20) -
default
_ argv (12) -
default
_ argv= (12) -
default
_ event _ sources (12) -
define
_ singleton _ method (24) - denominator (12)
-
deprecate
_ constant (12) - deq (24)
-
destination
_ encoding (12) - detect (24)
- disasm (12)
- disassemble (12)
- downcase (9)
- downcase! (9)
- dup (48)
- each (72)
-
each
_ cons (24) -
each
_ line (72) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - eigen (12)
- eigensystem (12)
- encode (36)
- encode! (24)
- entitydecl (12)
- environment (12)
-
error
_ bytes (12) - exception (24)
- exit (12)
- fdiv (12)
- fetch (12)
-
field
_ size _ limit (12) - find (24)
- finish (12)
-
flat
_ map (12) - flock (12)
- floor (12)
- gem (12)
- get (24)
- get2 (24)
- getopts (36)
- handler= (12)
- head (12)
- head2 (24)
- header (12)
-
header
_ convert (36) -
header
_ converters (12) -
ignore
_ deadlock= (4) - indent= (12)
-
insert
_ output (12) - inspect (36)
- install (12)
-
instruction
_ sequence (7) -
int
_ from _ prime _ division (12) - intersection (18)
- label (24)
-
laplace
_ expansion (12) - load (12)
- lup (12)
-
lup
_ decomposition (12) -
marshal
_ load (12) - member? (12)
- merge (12)
-
module
_ function (36) -
mon
_ exit (6) - negative? (9)
- none? (45)
- nonzero? (12)
- numerator (12)
-
object
_ nl= (12) -
on
_ head (12) -
on
_ tail (12) - one? (45)
- order (48)
- order! (48)
- parse (48)
- parse! (24)
-
parse
_ csv (12) - partition (12)
- path (24)
- pathconf (12)
- permutation (24)
- permute (24)
- permute! (24)
- platform= (12)
- pop (24)
- positive? (9)
- post (24)
- post2 (24)
- prerelease? (12)
-
prime
_ division (24) -
primitive
_ convert (48) -
primitive
_ errinfo (12) -
private
_ constant (12) -
program
_ name (12) -
program
_ name= (12) -
prompt
_ mode (12) -
prompt
_ mode= (12) -
public
_ constant (12) - putback (24)
- quo (24)
- raise (6)
-
raised
_ exception (12) - rationalize (108)
-
read
_ body (24) - reject (12)
- release (12)
-
remove
_ const (12) -
repeated
_ combination (24) -
repeated
_ permutation (24) - replacement (12)
- replacement= (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version= (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - round (12)
- rpartition (12)
-
ruby
_ opts= (12) -
rubygems
_ version= (12) -
satisfied
_ by? (12) -
send
_ request (12) - separator (12)
-
set
_ backtrace (12) -
set
_ content _ type (12) - shift (24)
- signal (12)
-
singleton
_ class (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) -
slice
_ before (24) - solve (12)
-
source
_ encoding (12) -
source
_ location (36) - space= (12)
-
space
_ before= (12) - strftime (12)
-
strongly
_ connected _ components (12) - summarize (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) - swapcase (9)
- swapcase! (9)
- synchronize (12)
- timeout (8)
-
to
_ a (6) -
to
_ binary (10) -
to
_ csv (12) -
to
_ d (12) -
to
_ f (12) -
to
_ i (12) -
to
_ json (228) -
to
_ r (36) -
to
_ s (24) - tr (12)
- trace (12)
- truncate (12)
-
tty
_ output= (12) -
unconverted
_ fields? (12) - union (31)
- upcase (9)
- upcase! (9)
-
use
_ readline (12) -
use
_ readline? (12) - value (12)
- values (6)
-
wait
_ for _ cond (6)
検索結果
先頭5件
-
WIN32OLE
_ EVENT # handler=(obj) -> () (43.0) -
イベント処理を実行するオブジェクトを登録します。
...ラはイベント名に「on」を前置します。もし、イベントに対応
するonメソッドが実装されていなければmethod_missingが呼ばれます。イベン
ト名は大文字小文字を区別するため、正確な記述が必要です。
@param obj イベントに対応......。
class IeHandler
def initialize
@completed = false
end
attr_reader :completed
def onDocumentComplete(disp, uri)
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}"
end
@completed = true
end
def method_missi......ternetExplorer.Application.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
event.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if event.handler.completed
WIN32OLE_EVENT.message_loop
end
ie.Quit
WIN32OLE_EVENT#on_eventなどの呼び... -
Ripper
:: Filter # parse(init = nil) -> object (41.0) -
自身の持つ Ruby プログラムの解析を開始します。各種イベントハンドラで処 理を行った結果を返します。
...自身の持つ Ruby プログラムの解析を開始します。各種イベントハンドラで処
理を行った結果を返します。
@param init 任意の値を指定できます。この値がイベントハンドラに渡されていきます。
引数 init を初期値としてイベ......ントハンドラに渡されていきます。各種イベン
トハンドラの戻り値は次のイベントハンドラに渡されます。
Enumerable#inject のように、最終的な結果を戻り値として返します。
@see Ripper::Filter#on_default, Ripper::Filter#on_XXX... -
String
# byteindex(pattern , offset = 0) -> Integer | nil (37.0) -
文字列の offset から右に向かって pattern を検索し、 最初に見つかった部分文字列の左端のバイト単位のインデックスを返します。 見つからなければ nil を返します。
...索します。
@param pattern 探索する部分文字列または正規表現
@param offset 探索を開始するバイト単位のオフセット
@raise IndexError オフセットが文字列の境界以外をさしているときに発生します。
//emlist[例][ruby]{
'foo'.byteinde......'o', -3) # => 1
'foo'.byteindex('o', -4) # => nil
'あいう'.byteindex('う') # => 6
'あいう'.byteindex('う', 3) # => 6
'あいう'.byteindex('う', -3) # => 6
'あいう'.byteindex('う', 1) # offset 1 does not land on character boundary (IndexError)
//}
@see String#index, String#byterindex... -
Thread
# ignore _ deadlock=(bool) (29.0) -
デッドロック検知を無視する機能をon/offします。デフォルト値はfalseです。
...デッドロック検知を無視する機能をon/offします。デフォルト値はfalseです。
trueを渡すとデッドロックを検知しなくなります。
//emlist[][ruby]{
Thread.ignore_deadlock = true
queue = Thread::Queue.new
trap(:SIGUSR1){queue.push "Received signal"}
# igno......re_deadlockがfalseだとエラーが発生する
puts queue.pop
//}
@see Thread#ignore_deadlock... -
CSV
# field _ size _ limit -> Integer (19.0) -
フィールドサイズの最大値を返します。
...//emlist[例][ruby]{
require "csv"
csv = CSV.new(DATA)
csv.field_size_limit # => nil
p csv.read # => [["a", "b"], ["\n2\n2\n", ""]]
DATA.rewind
csv = CSV.new(DATA, field_size_limit: 4)
p csv.field_size_limit # => 4
csv.read # => #<CSV::MalformedCSVError: Field size exceeded on line 2.>
__END__......"a","b"
"
2
2
",""
//}
@see CSV.new... -
Encoding
:: InvalidByteSequenceError # error _ bytes -> String (19.0) -
エラー発生時に捨てられたバイト列を返します。
...ト列を返します。
//emlist[例][ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1\xFFdef")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "\xFF" on EUC-JP>
puts $!.error_bytes.dump......#=> "\xA1"
puts $!.readagain_bytes.dump #=> "\xFF"
end
//}
@see Encoding::InvalidByteSequenceError#readagain_bytes... -
Pathname
# binread(*args) -> String | nil (19.0) -
IO.binread(self.to_s, *args)と同じです。
...ist[例][ruby]{
require "pathname"
pathname = Pathname("testfile")
pathname.binread # => "This is line one\nThis is line two\nThis is line three\nAnd so on...\n"
pathname.binread(20) # => "This is line one\nThi"
pathname.binread(20, 10) # => "ne one\nThis is line "
//}
@see IO.bi...