1265件ヒット
[401-500件を表示]
(0.110秒)
ライブラリ
- ビルトイン (700)
-
cgi
/ core (36) -
cgi
/ html (96) -
irb
/ cmd / help (12) -
irb
/ input-method (72) - json (144)
-
minitest
/ unit (1) -
net
/ http (24) - rake (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) - win32ole (144)
クラス
- CGI (24)
- Exception (12)
-
IRB
:: ExtendCommand :: Help (12) -
IRB
:: FileInputMethod (12) -
IRB
:: InputMethod (12) -
IRB
:: ReadlineInputMethod (24) -
IRB
:: StdioInputMethod (24) -
JSON
:: State (12) - Method (36)
-
MiniTest
:: Unit (1) - Module (372)
- NameError (12)
-
Net
:: HTTPGenericRequest (12) - Object (60)
- Proc (12)
- Refinement (4)
-
RubyVM
:: InstructionSequence (48) - String (60)
- UnboundMethod (96)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
WIN32OLE
_ METHOD (96) -
WIN32OLE
_ PARAM (48)
モジュール
-
CGI
:: HtmlExtension (96) -
CGI
:: QueryExtension (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) -
Net
:: HTTPHeader (12)
キーワード
- == (12)
-
absolute
_ path (12) -
alias
_ method (12) - arity (12)
- backtrace (12)
-
base
_ label (12) - clone (12)
-
define
_ method (24) -
define
_ singleton _ method (24) - encode (36)
- eql? (12)
-
event
_ interface (12) - execute (12)
-
file
_ name (12) - form (48)
- generate (12)
- gets (36)
- header (12)
- helpfile (12)
- helpstring (12)
-
import
_ methods (4) - inspect (24)
-
instance
_ method (12) -
invoke
_ kind (12) - label (12)
- line (24)
-
method
_ defined? (12) -
module
_ function (36) -
multipart
_ form (48) - name (36)
-
ole
_ type (12) -
ole
_ type _ detail (12) - out (12)
- path (12)
- private (48)
-
private
_ class _ method (24) -
private
_ method _ defined? (12) - protected (48)
-
protected
_ method _ defined? (12) - public (48)
-
public
_ class _ method (24) -
public
_ instance _ method (12) -
public
_ method (12) -
public
_ method _ defined? (12) - puke (1)
-
rake
_ extension (12) -
remove
_ method (12) -
request
_ method (36) -
return
_ type (12) -
return
_ type _ detail (12) -
singleton
_ method (12) -
source
_ location (36) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (72) -
to
_ str (12) -
undef
_ method (12)
検索結果
先頭5件
-
Module
# remove _ method(*name) -> self (6132.0) -
インスタンスメソッド name をモジュールから削除します。
...。
@param name 0 個以上の String か Symbol を指定します。
@raise NameError 指定したメソッドが定義されていない場合に発生します。
//emlist[例][ruby]{
class C
def foo
end
remove_method :foo
remove_method :no_such_method # 例外 NameError が発生... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw -> String (6124.0) -
自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
...自身に対して JSON::Generator::GeneratorMethods::String#to_json_raw_object を呼び出して JSON::Generator::GeneratorMethods::Hash#to_json した結果を返します。
@see JSON::Generator::GeneratorMethods::String#to_json_raw_object, JSON::Generator::GeneratorMethods::Hash#to_json... -
Refinement
# import _ methods(*modules) -> self (6119.0) -
モジュールからメソッドをインポートします。
...モジュールからメソッドをインポートします。
Module#includeと違って、import_methods はメソッドをコピーして
refinement に追加して、refinementでインポートしたメソッドを有効化します。
メソッドをコピーするため、Rubyコードで......dent(level)
' ' * level + self
end
end
module M
refine String do
import_methods StrUtils
end
end
using M
p "foo".indent(3) # => " foo"
module M
refine String do
import_methods Enumerable
# Can't import method which is not defined with Ruby code: Enumerable#drop
end
end... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (6102.0) -
自身から生成した JSON 形式の文字列を返します。
自身から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (6007.0) -
生の文字列を格納したハッシュを生成します。
...に変換する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::Generat... -
UnboundMethod
# inspect -> String (3133.0) -
self を読みやすい文字列として返します。
...self を読みやすい文字列として返します。
詳しくは Method#inspect を参照してください。
//emlist[例][ruby]{
String.instance_method(:count).inspect # => "#<UnboundMethod: String#count>"
//}
@see Method#inspect... -
UnboundMethod
# to _ s -> String (3133.0) -
self を読みやすい文字列として返します。
...self を読みやすい文字列として返します。
詳しくは Method#inspect を参照してください。
//emlist[例][ruby]{
String.instance_method(:count).inspect # => "#<UnboundMethod: String#count>"
//}
@see Method#inspect... -
WIN32OLE
_ METHOD # invoke _ kind -> String (3132.0) -
メソッドの種類を文字列で取得します。
...32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.invoke_kind # => "FUNC"
返送値は以下のいずれかとなります。値の意味は
WIN32OLE_METHOD#invkindの説明を参照してください。
: PORPERTY
INVO......ています。
: PROPERTYPUT
INVOKE_PROPERTYPUTが設定されています。
: PROPERTYPUTREF
INVOKE_PROPERTYPUTREFが設定されています。
: FUNC
INVOKE_FUNCが設定されています。
: UNKNOWN
上記のいずれにも当てはまりません。
@see WIN32OLE_METHOD#invkind... -
WIN32OLE
_ METHOD # helpfile -> String | nil (3126.0) -
ヘルプファイルのパス名を取得します。
...osoft Excel 14.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.helpfile # => C:\...\VBAXL9.CHM
メソッドにヘルプファイルが関連付けられている場合、WIN32OLE.ole_show_helpにWIN32OLE_METHODオブジェクトを与えてヘルプファ... -
WIN32OLE
_ METHOD # return _ type _ detail -> [String] (3126.0) -
返り値の型と属性を取得します。
....new('Microsoft Excel 14.0 Object Library', 'Application')
method = WIN32OLE_METHOD.new(tobj, 'Workbooks')
p method.return_type_detail # => ["PTR", "USERDEFINED", "Workbooks"]
属性が付加されていない場合は、WIN32OLE_METHOD#return_typeを要素と
した配列が返ります。...