282件ヒット
[1-100件を表示]
(0.040秒)
種類
- インスタンスメソッド (168)
- ライブラリ (48)
- 特異メソッド (36)
- クラス (24)
- 文書 (6)
ライブラリ
- ビルトイン (96)
-
irb
/ cmd / load (24) -
irb
/ extend-command (12) - json (36)
- rake (12)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ dependency _ installer (12) -
rubygems
/ dependency _ list (12) - win32ole (12)
クラス
-
Encoding
:: Converter (48) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: DependencyInstaller (12) -
Gem
:: DependencyList (12) -
IRB
:: ExtendCommand :: Source (12) -
JSON
:: Parser (36) - Method (24)
- Module (12)
-
WIN32OLE
_ TYPE (12)
モジュール
-
IRB
:: ExtendCommandBundle (12) - Kernel (12)
キーワード
-
NEWS for Ruby 2
. 7 . 0 (6) - Source (12)
- UndefinedConversionError (12)
-
const
_ source _ location (12) -
default
_ event _ sources (12) - execute (12)
-
find
_ gems (12) -
find
_ gems _ with _ sources (12) -
from
_ source _ index (12) - inspect (6)
-
install
_ extend _ commands (12) - irb (12)
- new (12)
- parse (12)
-
primitive
_ convert (48) - rdoc (12)
- rss (12)
-
rubygems
/ commands / dependency _ command (12) - rule (12)
-
source
_ location (12) -
to
_ s (6)
検索結果
先頭5件
-
JSON
:: Parser # source -> String (18113.0) -
現在のソースのコピーを返します。
...quire 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
# => }
__END__
{
"Tanaka": {
"name":"tanaka",
"age":20
},
"Su... -
Gem
:: DependencyList . from _ source _ index(src _ index) -> Gem :: DependencyList (9201.0) -
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
...与えられた Gem::SourceIndex のインスタンスから自身を作成します。
@param src_index Gem::SourceIndex を指定します。
@see Gem::SourceIndex... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (9106.0) -
定義済みの拡張を読み込みます。
...* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ExtendCommandBundle.install_extend_commands... -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (9100.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
...返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。... -
IRB
:: ExtendCommand :: Source (9016.0) -
irb 中の irb_source コマンドのための拡張を定義したクラスです。
...irb 中の irb_source コマンドのための拡張を定義したクラスです。... -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (6191.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
...e 1
C1 = 1
C2 = 2
end
module M # line 6
C3 = 3
end
class B < A # line 10
include M
C4 = 4
end
class A # 継続して A を定義する
C2 = 8 # 定数を再定義する
end
p B.const_source_location('C4') # => ["test.rb", 12]
p B.const_source_location('C3')......B.const_source_location('C1') # => ["test.rb", 2]
p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない
p A.const_source_location('C2') # => ["test.rb", 16] -- 最後に定義された位置を返す
p Object.const_source_locati......を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定義された場合は最初の定義位置を返す
p B.const_source_location('A') # => ["test.rb", 1] -- Object を継承している為
p M.const_source_location('A') # => ["t... -
WIN32OLE
_ TYPE # default _ event _ sources -> [WIN32OLE _ TYPE] (6154.0) -
型が持つソースインターフェイスを取得します。
...型が持つソースインターフェイスを取得します。
default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるイン......ない場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.default_event_sources.map {|intf| intf.name} #=> ["DocEvents"]
WIN32OLE_EVENT.newでインターフェイス名を指定しない場合は、ここで
返されたイ......osoft Internet Controls', 'InternetExplorer')
ctl = WIN32OLE.new(type.progid)
source = type.default_event_sources[0]
class WebEvent
def initialize
@completed = false
end
attr_reader :completed
end
source.ole_methods.each do |m|
WebEvent.module_eval do
define_method("on#{m.... -
Method
# source _ location -> [String , Integer] | nil (6137.0) -
ソースコードのファイル名と行番号を配列で返します。
...す。
@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source_location # => ["/tmp/foo.rb", 2]
method(:puts).source_location # => nil... -
rubygems
/ commands / dependency _ command (6006.0) -
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
...ge: gem dependency GEMNAME [options]
Options:
-v, --version VERSION 指定したバージョンの依存関係を表示します
--platform PLATFORM 指定したプラットフォームの依存関係を表示します
-R, --[no-]reverse-dependencies......zation (default 1000)
--source URL Gem パッケージのリモートリポジトリの URL を指定します
--[no-]http-proxy [URL] リモートの操作に HTTP プロクシを使用します
-u, --[no-]update-sources ローカルソースキ......ッグオプションを有効にします
Arguments:
GEMNAME 依存関係を表示する Gem の名前を指定します
Summary:
インストールされている Gem の依存関係を表示します
Defaults:
--local --version '>= 0' --no-reverse-dependencies...