680件ヒット
[1-100件を表示]
(0.032秒)
別のキーワード
ライブラリ
- ビルトイン (247)
-
irb
/ cmd / load (12) - json (84)
- objspace (24)
-
rubygems
/ source _ index (24) - un (36)
- win32ole (12)
クラス
- Binding (7)
-
Encoding
:: Converter (132) -
Gem
:: SourceIndex (24) -
IRB
:: ExtendCommand :: Source (12) -
JSON
:: Parser (36) - Method (24)
- Module (12)
- Proc (12)
- Regexp (12)
-
RubyVM
:: InstructionSequence (24) - UnboundMethod (12)
-
WIN32OLE
_ TYPE (12)
モジュール
- JSON (48)
- Kernel (36)
- ObjectSpace (24)
キーワード
-
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) - UndefinedConversionError (12)
-
allocation
_ sourcefile (12) -
allocation
_ sourceline (12) - compile (12)
-
const
_ source _ location (12) - convert (12)
- cp (12)
-
default
_ event _ sources (12) - execute (12)
-
from
_ gems _ in (12) - inspect (6)
- install (12)
- irb (12)
- load (12)
-
load
_ specification (12) - mv (12)
- new (60)
- parse (24)
- parse! (12)
-
primitive
_ convert (48) -
primitive
_ errinfo (12) - rdoc (12)
- restore (12)
- rss (12)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ commands / sources _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ source _ info _ cache _ entry (12) -
search
_ convpath (12) -
source
_ encoding (12) -
source
_ location (43) -
to
_ s (6) - un (12)
- 多言語化 (12)
検索結果
先頭5件
- RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence - RubyVM
:: InstructionSequence . new(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence - JSON
:: Parser # source -> String - Regexp
# source -> String - rubygems
/ commands / sources _ command
-
RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (23252.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...引数 source で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定しま......定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::InstructionSequence.compile_opti......on= を参照
してください。
RubyVM::InstructionSequence.compile("a = 1 + 2")
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
@see RubyVM::InstructionSequence.compile_file... -
RubyVM
:: InstructionSequence . new(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (23252.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...引数 source で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定しま......定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::InstructionSequence.compile_opti......on= を参照
してください。
RubyVM::InstructionSequence.compile("a = 1 + 2")
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
@see RubyVM::InstructionSequence.compile_file... -
JSON
:: Parser # source -> String (18113.0) -
現在のソースのコピーを返します。
...現在のソースのコピーを返します。
//emlist[例][ruby]{
require 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
#... -
Regexp
# source -> String (18113.0) -
その正規表現のもととなった文字列表現を生成して返します。
...その正規表現のもととなった文字列表現を生成して返します。
//emlist[例][ruby]{
re = /foo|bar|baz/i
p re.source # => "foo|bar|baz"
//}... -
rubygems
/ commands / sources _ command (12018.0) -
Gem パッケージの取得元の情報を管理するためのライブラリです。
...るためのライブラリです。
Usage: gem sources [options]
Options:
-a, --add SOURCE_URI 取得元を追加します
-l, --list 取得元一覧を表示します
-r, --remove SOURCE_URI 取得元を削除します
-u, -......た設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Gem パッケージの取得元の情報を管理します... -
rubygems
/ source _ index (12000.0) -
個々のソースから取得した全ての有効な Gem パッケージをインデックス化するためのライブラリです。
個々のソースから取得した全ての有効な Gem パッケージをインデックス化するためのライブラリです。 -
rubygems
/ source _ info _ cache (12000.0) -
個々の Gem パッケージのインデックス情報のコピーを保存するためのライブラリです。
個々の Gem パッケージのインデックス情報のコピーを保存するためのライブラリです。 -
rubygems
/ source _ info _ cache _ entry (12000.0) -
Gem::SourceInfoCache が持つエントリを表すためのライブラリです。
...Gem::SourceInfoCache が持つエントリを表すためのライブラリです。... -
Module
# const _ source _ location(name , inherited = true) -> [String , Integer] (6173.0) -
name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。
...す。
//emlist[例][ruby]{
# test.rb:
class A # line 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') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]
p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない
p A.const_source_location('C2') # => [......す
p Object.const_source_location('B') # => ["test.rb", 10] -- Object はトップレベルの定数を検索する
p Object.const_source_location('A') # => ["test.rb", 1] -- クラスが再定義された場合は最初の定義位置を返す
p B.const_source_location('A')...