223件ヒット
[201-223件を表示]
(0.187秒)
別のキーワード
ライブラリ
- ビルトイン (163)
-
irb
/ cmd / load (12) - json (24)
- un (12)
- win32ole (12)
クラス
- Binding (7)
-
Encoding
:: Converter (84) -
IRB
:: ExtendCommand :: Source (12) -
JSON
:: Parser (24) - Method (24)
- Module (12)
- Proc (12)
- Regexp (12)
- UnboundMethod (12)
-
WIN32OLE
_ TYPE (12)
モジュール
- Kernel (12)
キーワード
-
const
_ source _ location (12) - convert (12)
-
default
_ event _ sources (12) - execute (12)
- inspect (6)
- install (12)
- parse (12)
-
primitive
_ convert (48) -
primitive
_ errinfo (12) -
source
_ encoding (12) -
source
_ location (43) -
to
_ s (6)
検索結果
-
Kernel
# install -> () (9119.0) -
ファイルをコピーし、その属性を設定します。
...性を設定します。
ruby -run -e install -- [OPTION] SOURCE DEST
-p ファイルのアクセス時刻と修正時刻を保持します。
-m chmod と同じようにファイルのパーミッションを設定します。
-v 詳細表示
@see install(1)... -
Method
# inspect -> String (6237.0) -
self を読みやすい文字列として返します。
...します。
以下の形式の文字列を返します。
#<Method: klass1(klass2)#method(arg) foo.rb:2> (形式1)
klass1 は、Method#inspect では、レシーバのクラス名、
UnboundMethod#inspect では、UnboundMethod オブジェクトの生成
元となったクラス/モジ......method は、メソッド名を表します。
arg は引数を表します。
「foo.rb:2」は Method#source_location を表します。
source_location が nil の場合には付きません。
//emlist[例][ruby]{
module Foo
def foo
"foo"
end
end
class Bar
include Foo
def bar(a, b......)
end
end
p Bar.new.method(:foo) # => #<Method: Bar(Foo)#foo() test.rb:2>
p Bar.new.method(:bar) # => #<Method: Bar#bar(a, b) test.rb:8>
//}
klass1 と klass2 が同じ場合は以下の形式になります。
#<Method: klass1#method() foo.rb:2> (形式2)
特異メ... -
Method
# to _ s -> String (6237.0) -
self を読みやすい文字列として返します。
...します。
以下の形式の文字列を返します。
#<Method: klass1(klass2)#method(arg) foo.rb:2> (形式1)
klass1 は、Method#inspect では、レシーバのクラス名、
UnboundMethod#inspect では、UnboundMethod オブジェクトの生成
元となったクラス/モジ......method は、メソッド名を表します。
arg は引数を表します。
「foo.rb:2」は Method#source_location を表します。
source_location が nil の場合には付きません。
//emlist[例][ruby]{
module Foo
def foo
"foo"
end
end
class Bar
include Foo
def bar(a, b......)
end
end
p Bar.new.method(:foo) # => #<Method: Bar(Foo)#foo() test.rb:2>
p Bar.new.method(:bar) # => #<Method: Bar#bar(a, b) test.rb:8>
//}
klass1 と klass2 が同じ場合は以下の形式になります。
#<Method: klass1#method() foo.rb:2> (形式2)
特異メ...