312件ヒット
[201-300件を表示]
(0.134秒)
ライブラリ
- ビルトイン (48)
- erb (24)
-
irb
/ xmp (12) -
rdoc
/ context (36) -
rdoc
/ parser / c (12) -
rdoc
/ parser / changelog (12) -
rdoc
/ parser / markdown (12) -
rdoc
/ parser / rd (12) -
rdoc
/ parser / ruby (12) -
rdoc
/ parser / simple (12) -
rdoc
/ top _ level (120)
クラス
- ERB (24)
- Module (48)
-
RDoc
:: Context (36) -
RDoc
:: Parser :: C (12) -
RDoc
:: Parser :: ChangeLog (12) -
RDoc
:: Parser :: Markdown (12) -
RDoc
:: Parser :: RD (12) -
RDoc
:: Parser :: Ruby (12) -
RDoc
:: Parser :: Simple (12) -
RDoc
:: TopLevel (120)
モジュール
- Kernel (12)
キーワード
-
add
_ class _ or _ module (12) -
add
_ require (12) -
file
_ absolute _ name (12) -
file
_ absolute _ name= (12) -
file
_ relative _ name (12) -
file
_ relative _ name= (12) -
file
_ stat (12) -
file
_ stat= (12) -
find
_ local _ symbol (12) -
find
_ module _ named (12) -
full
_ name (12) - public (48)
-
record
_ location (12) - result (12)
- run (12)
- scan (72)
- xmp (12)
検索結果
先頭5件
-
RDoc
:: Parser :: Ruby # scan -> RDoc :: TopLevel (108.0) -
Ruby のソースコードからクラス/モジュールのドキュメントを解析します。
...Ruby のソースコードからクラス/モジュールのドキュメントを解析します。
@return RDoc::TopLevel オブジェクトを返します。... -
ERB
# result(b=TOPLEVEL _ BINDING) -> String (102.0) -
ERB を b の binding で実行し、結果の文字列を返します。
ERB を b の binding で実行し、結果の文字列を返します。
@param b eRubyスクリプトが実行されるときのbinding
//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
puts erb.result
# test foo
# test bar
//}ERB を b の binding で実行し、結果の文字列を返します。
@param b eRubyスクリプトが実行されるときのbinding
//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
puts erb.result
# test foo
# test bar
//}
@see ERB#result_with_hash -
ERB
# run(b=TOPLEVEL _ BINDING) -> nil (102.0) -
ERB を b の binding で実行し、結果を標準出力へ印字します。
ERB を b の binding で実行し、結果を標準出力へ印字します。
@param b eRubyスクリプトが実行されるときのbinding
//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
erb.run
# test foo
# test bar
//} -
RDoc
:: Context # record _ location(toplevel) (102.0) -
Record the file that we happen to find it in
Record the file that we happen to find it in -
RDoc
:: Context # add _ require(a _ require) -> () (17.0) -
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した RDoc::Require を追加します。
...自身が所属する RDoc::TopLevel オブジェクトに引数で指定した
RDoc::Require を追加します。
@param a_require RDoc::Require オブジェクトを指定します。... -
Kernel
# xmp(exps , bind = nil) -> XMP (7.0) -
引数 exps で指定されたRuby のソースコードとその実行結果を、標準出力に行 ごとに交互に表示します。
...ます。
@param bind Binding オブジェクトを指定します。省略した場合は、最
後に実行した XMP#puts、Kernel#xmp の
Binding を使用します。まだ何も実行していない場合は
Object::TOPLEVEL_BINDING を使用します。... -
Module
# public() -> nil (7.0) -
メソッドを public に設定します。
...rror 存在しないメソッド名を指定した場合に発生します。
//emlist[例][ruby]{
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... -
Module
# public(*name) -> Array (7.0) -
メソッドを public に設定します。
...rror 存在しないメソッド名を指定した場合に発生します。
//emlist[例][ruby]{
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... -
Module
# public(name) -> String | Symbol (7.0) -
メソッドを public に設定します。
...rror 存在しないメソッド名を指定した場合に発生します。
//emlist[例][ruby]{
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...