るりまサーチ

最速Rubyリファレンスマニュアル検索!
168件ヒット [101-168件を表示] (0.071秒)

別のキーワード

  1. _builtin owner
  2. method owner
  3. unboundmethod owner
  4. monitor mon_check_owner

ライブラリ

キーワード

検索結果

<< < 1 2 >>

DRb::DRbUnknown#exception -> DRb::DRbUnknownError (101.0)

マーシャリングされたオブジェクトが元のオブジェクトに変換できなかった、 ということを意味する例外オブジェクトを返します。

...マーシャリングされたオブジェクトが元のオブジェクトに変換できなかった、
ということを意味する例外オブジェクトを返します。

この例外オブジェクトの DRb::DRbUnknownError#unknown を
呼び出すと、 self が返されます。...

Net::FTP#mlsd(pathname = nil) -> [Net::FTP::MLSxEntry] (13.0)

pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。

..."perm"=>"fle",
# "type"=>"cdir",
# "unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
#...
..."perm"=>"adfr",
# "size"=>1128,
# "type"=>"file",
# "unique"=>"801U1FEF97",
# "unix.group"=>0,
# "unix.mode"=>420,
# "unix.owner"=>106},
# @pathname="README.txt">,
# :
# ]
end...

Net::FTP#mlsd(pathname = nil) {|entry| ... } -> () (13.0)

pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。

..."perm"=>"fle",
# "type"=>"cdir",
# "unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
#...
..."perm"=>"adfr",
# "size"=>1128,
# "type"=>"file",
# "unique"=>"801U1FEF97",
# "unix.group"=>0,
# "unix.mode"=>420,
# "unix.owner"=>106},
# @pathname="README.txt">,
# :
# ]
end...

JSON::Generator::GeneratorMethods::Object#to_json(state_or_hash = nil) -> String (7.0)

自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。

...ruby]{
require "json"

class Person
attr :name, :age

def initialize(name, age)
@name, @age = name, age
end
end

tanaka = Person.new("tanaka", 29)

tanaka.to_json # => "\"#<Person:0x00007ffdec0167c8>\""
tanaka.method(:to_json).owner # => JSON::Ext::Generator::GeneratorMethods::Object
//}...

Monitor#exit -> () (7.0)

MonitorMixin#mon_exit の別名です。

...ドが一つ実行を再開します。

@raise ThreadError ロックを持っていないスレッドが呼びだした場合に発生します

//emlist[例][ruby]{
require 'monitor'
mon = Monitor.new
mon.enter
mon.enter
mon.exit
mon.exit
mon.exit # => current thread not owner (ThreadError)
//}...

絞り込み条件を変える

Monitor#mon_exit -> () (7.0)

モニターのロックを解放します。

...ドが一つ実行を再開します。

@raise ThreadError ロックを持っていないスレッドが呼びだした場合に発生します

//emlist[例][ruby]{
require 'monitor'
mon = Monitor.new
mon.enter
mon.enter
mon.exit
mon.exit
mon.exit # => current thread not owner (ThreadError)
//}...

Net::FTP::MLSxEntry#facts -> { String => String|Integer|Time } (7.0)

そのエントリの「facts」を返します。

...facts が
使える可能性があります。

* "unix.mode": ファイルモード(Integer)
* "unix.group": グループ(Integer)
* "unix.owner": ファイルのオーナー(Integer)
* "unix.atime": ファイルに最後にアクセスした時刻 (Time)
* "unix.ctime": ファイルを...
<< < 1 2 >>