441件ヒット
[1-100件を表示]
(0.147秒)
ライブラリ
- ビルトイン (273)
- mkmf (36)
- rake (36)
-
rake
/ gempackagetask (12) -
rake
/ packagetask (12) -
rake
/ rdoctask (12) -
rake
/ testtask (12) -
rdoc
/ context (12) -
win32
/ registry (24) - win32ole (12)
クラス
- BasicObject (12)
- Data (33)
-
Encoding
:: UndefinedConversionError (36) - Method (12)
- Module (132)
- Object (36)
-
RDoc
:: Context (12) -
Rake
:: GemPackageTask (12) -
Rake
:: PackageTask (12) -
Rake
:: RDocTask (12) -
Rake
:: TestTask (12) - TracePoint (12)
-
WIN32OLE
_ TYPE (12) -
Win32
:: Registry :: PredefinedKey (24)
モジュール
- Kernel (60)
-
Rake
:: TaskManager (12)
キーワード
- == (3)
- class (12)
-
class
_ exec (12) - close (12)
-
const
_ defined? (12) -
convertible
_ int (24) -
create
_ header (12) - deconstruct (3)
-
deconstruct
_ keys (3) -
default
_ event _ sources (12) -
define
_ method (24) -
define
_ singleton _ method (24) -
define
_ task (12) -
defined
_ class (12) -
defined
_ in? (12) -
destination
_ encoding (12) -
destination
_ encoding _ name (12) - eql? (3)
-
error
_ char (12) - file (12)
- hash (3)
- inspect (3)
-
instance
_ variable _ defined? (12) - members (3)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ undefined (12) -
module
_ exec (12) - parameters (12)
-
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
public
_ method _ defined? (12) -
singleton
_ method _ undefined (12) - task (12)
-
to
_ h (6) -
to
_ s (3) - with (3)
検索結果
先頭5件
-
Rake
:: GemPackageTask # define (21102.0) -
タスクを定義します。
...タスクを定義します。
GemPackageTask.new にブロックが与えられている場合に、自動的に呼び出されます。... -
Rake
:: PackageTask # define -> self (21102.0) -
タスクを定義します。
...タスクを定義します。
@raise RuntimeError バージョン情報をセットしていない場合に発生します。
初期化時に :noversion が指定されている場合は発生しません。... -
Rake
:: RDocTask # define -> self (21102.0) -
タスクを定義します。
タスクを定義します。 -
Rake
:: TestTask # define -> self (21102.0) -
タスクを定義します。
タスクを定義します。 -
Module
# protected _ method _ defined?(name , inherit=true) -> bool (18301.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が protected であるときに true を返します。 そうでなければ false を返します。
...ュールに定義されており、
しかもその可視性が protected であるときに true を返します。
そうでなければ false を返します。
@param name Symbol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジ......ethod_defined?, Module#public_method_defined?, Module#private_method_defined?
//emlist[例][ruby]{
module A
def method1() end
end
class B
protected
def method2() end
end
class C < B
include A
def method3() end
end
A.method_defined? :method1 #=> true
C.protected_meth......od_defined? "method1" #=> false
C.protected_method_defined? "method2" #=> true
C.protected_method_defined? "method2", true #=> true
C.protected_method_defined? "method2", false #=> false
C.method_defined? "method2" #=> true
//}... -
Rake
:: TaskManager # define _ task(task _ class , *args) { . . . } -> Rake :: Task (15420.0) -
タスクを定義します。
...aram task_class タスククラスを指定します。
@param args タスクに渡すパラメータを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.define_task(Rake::Task, :t) # => <Rake::Task t =>... -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (15201.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (15201.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding... -
Module
# define _ method(name , method) -> Symbol (12309.0) -
インスタンスメソッド name を定義します。
...スタンスの上で BasicObject#instance_eval されます。
@param name メソッド名を String または Symbol を指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Sy......します。
@raise TypeError method に同じクラス、サブクラス、モジュール以外のメソッ
ドを指定した場合に発生します。
//emlist[例][ruby]{
class Foo
def foo() p :foo end
define_method(:bar, instance_method(:foo))
end
Foo.new.bar # => :f...