1760件ヒット
[1701-1760件を表示]
(0.050秒)
別のキーワード
ライブラリ
- ビルトイン (766)
-
cgi
/ core (36) -
cgi
/ html (96) - delegate (48)
- forwardable (96)
-
irb
/ input-method (120) - json (144)
-
minitest
/ unit (2) -
net
/ http (24) - openssl (36)
- psych (8)
-
rdoc
/ context (24) -
rdoc
/ stats (12) -
rdoc
/ top _ level (12) - rubygems (12)
-
webrick
/ cgi (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) - win32ole (288)
クラス
- Array (10)
- BasicObject (48)
- CGI (24)
- Delegator (48)
- Enumerator (24)
-
Enumerator
:: Lazy (48) - Exception (12)
-
IRB
:: FileInputMethod (24) -
IRB
:: InputMethod (24) -
IRB
:: ReadlineInputMethod (36) -
IRB
:: StdioInputMethod (36) -
JSON
:: State (12) - Method (130)
-
MiniTest
:: Unit (1) - Module (92)
- NameError (12)
-
Net
:: HTTPGenericRequest (12) - NoMethodError (12)
- Object (132)
-
OpenSSL
:: Engine (12) -
OpenSSL
:: SSL :: SSLContext (24) - Proc (26)
-
RDoc
:: Context (24) -
RDoc
:: Stats (12) -
RDoc
:: TopLevel (12) - Regexp (24)
-
RubyVM
:: InstructionSequence (60) - String (60)
- UnboundMethod (84)
-
WEBrick
:: CGI (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) - WIN32OLE (60)
-
WIN32OLE
_ METHOD (180) -
WIN32OLE
_ PARAM (48)
モジュール
-
CGI
:: HtmlExtension (96) -
CGI
:: QueryExtension (12) - Forwardable (48)
-
Gem
:: QuickLoader (12) -
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 (36) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) -
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (12) - SingleForwardable (48)
キーワード
- << (14)
- === (8)
- >> (14)
- [] (12)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
absolute
_ path (12) -
add
_ to (12) -
alias
_ method (12) - args (12)
- arity (24)
-
assert
_ respond _ to (1) - backtrace (12)
-
base
_ label (12) -
bind
_ call (12) - call (24)
-
class
_ exec (12) -
def
_ delegator (24) -
def
_ delegators (24) -
def
_ instance _ delegator (12) -
def
_ instance _ delegators (12) -
def
_ single _ delegator (12) -
def
_ single _ delegators (12) -
define
_ singleton _ method (24) - dig (10)
- dispid (12)
- each (24)
- encode (36)
- encoding (36)
-
enum
_ for (48) -
event
_ interface (12) -
file
_ name (12) -
find
_ local _ symbol (12) -
first
_ lineno (12) - form (48)
- generate (12)
- gets (48)
- hash (24)
- header (12)
- helpcontext (12)
- helpfile (12)
- helpstring (12)
- inspect (24)
- invkind (12)
-
invoke
_ kind (12) - label (12)
- line (24)
- match (24)
-
method
_ missing (48) - methods (12)
-
module
_ exec (12) -
module
_ function (12) -
multipart
_ form (48) - name (24)
-
num
_ methods (12) -
offset
_ vtbl (12) -
ole
_ get _ methods (12) -
ole
_ type (12) -
ole
_ type _ detail (12) -
original
_ name (24) - out (12)
- path (12)
- private (12)
- protected (12)
-
protected
_ methods (12) -
psych
_ yaml _ as (4) - public (12)
-
public
_ methods (12) - puke (1)
-
renegotiation
_ cb= (12) -
request
_ method (36) -
respond
_ to _ missing? (12) -
return
_ type (12) -
return
_ type _ detail (12) -
return
_ vtype (12) - send (24)
- service (12)
-
session
_ get _ cb= (12) -
set
_ default (12) -
set
_ visibility _ for (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) -
size
_ opt _ params (12) -
size
_ params (12) -
source
_ location (36) -
to
_ enum (48) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (72) -
to
_ str (12) -
yaml
_ as (4)
検索結果
先頭5件
-
Module
# protected(name) -> String | Symbol (107.0) -
メソッドを protected に設定します。
...い。
@param name 0 個以上の String または Symbol を指定します。
@param names 0 個以上の String または Symbol を Array で指定します。
@raise NameError 存在しないメソッド名を指定した場合に発生します。
@see Module#protected_method_defined?... -
Module
# psych _ yaml _ as(tag) -> () (107.0) -
クラスと tag の間を関連付けます。
...クラスと tag の間を関連付けます。
これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。
この method は deprecated です。 Object.yaml_tag を
かわりに使ってくだ......さい。
@param tag 対象のクラスに関連付けるタグの文字列... -
Module
# public(name) -> String | Symbol (107.0) -
メソッドを public に設定します。
...す。
可視性については d:spec/def#limit を参照して下さい。
@param name 0 個以上の String または Symbol を指定します。
@param names 0 個以上の String または Symbol を Array で指定します。
@raise NameError 存在しないメソッド名を指定した......def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)
def bar() 2 end
public :bar # visibility changed (all access allowed)
p bar # => 2
p self.bar # => 2
//}... -
Module
# yaml _ as(tag) -> () (107.0) -
クラスと tag の間を関連付けます。
...クラスと tag の間を関連付けます。
これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。
この method は deprecated です。 Object.yaml_tag を
かわりに使ってくだ......さい。
@param tag 対象のクラスに関連付けるタグの文字列... -
RDoc
:: Context # add _ to(array , thing) -> () (107.0) -
array に thing を追加します。
...array に thing を追加します。
@param array 配列を指定します。
@param thing 追加する要素を指定します。
RDoc::Context#add_alias などで使われています。ライブラリ内部で使
用します。
@see RDoc::Context#add_alias, RDoc::Context#add_attribute,......RDoc::Context#add_constant, RDoc::Context#add_include,
RDoc::Context#add_method, RDoc::Context#add_require... -
WIN32OLE
# _ setproperty(dispid , args , types) -> () (107.0) -
DISPIDとパラメータの型を指定してオブジェクトのプロパティを設定します。
...ちません。
@param dispid プロパティのDISPID(メソッドを一意に特定する数値)を指定
します。
@param args 引数を配列で指定します。引数の順序は最左端の引数のインデッ
クスを0とします。プロパティに対......sheet._setproperty(DISPID_CELLS, [1, 2, 'hello'], [VT_I2, VT_I2, VT_BSTR])
puts sheet._getproperty(DISPID_CELLS, [1, 2], [VT_I2, VT_I2]).value #=> 'hello'
workbook.Close(:SaveChanges => false)
excel.Quit
DISPIDはWIN32OLE_METHOD#dispidから取得できます。
@see WIN32OLE::VARIANT... -
Proc
# <<(callable) -> Proc (37.0) -
self と引数を合成した Proc を返します。
...の順序が逆になります。
@param callable Proc、Method、もしくは任意の call メソッドを持ったオブジェクト。
//emlist[例][ruby]{
f = proc { |x| x * x }
g = proc { |x| x + x }
# (3 + 3) * (3 + 3)
p (f << g).call(3) # => 36
//}
//emlist[call を定義したオブジ......anner
def self.call(str)
str.scan(/\w+/)
end
end
File.write('testfile', <<~TEXT)
Hello, World!
Hello, Ruby!
TEXT
pipeline = proc { |data| puts "word count: #{data.size}" } << WordScanner << File.method(:read)
pipeline.call('testfile') # => word count: 4
//}
@see Method#<<, Method#>>... -
Proc
# >>(callable) -> Proc (37.0) -
self と引数を合成した Proc を返します。
...の順序が逆になります。
@param callable Proc、Method、もしくは任意の call メソッドを持ったオブジェクト。
//emlist[例][ruby]{
f = proc { |x| x * x }
g = proc { |x| x + x }
# (3 * 3) + (3 * 3)
p (f >> g).call(3) # => 18
//}
//emlist[call を定義したオブジ......anner
def self.call(str)
str.scan(/\w+/)
end
end
File.write('testfile', <<~TEXT)
Hello, World!
Hello, Ruby!
TEXT
pipeline = proc { |fname| File.read(fname) } >> WordScanner >> method(:p)
pipeline.call('testfile') # => ["Hello", "World", "Hello", "Ruby"]
//}
@see Method#<<, Method#>>...