クラス
-
ARGF
. class (77) - Array (139)
- BasicObject (33)
- Bignum (15)
- Binding (11)
- Class (11)
- Complex (30)
- Data (4)
- Dir (20)
- Encoding (33)
-
Encoding
:: InvalidByteSequenceError (11) - Enumerator (11)
-
Enumerator
:: Lazy (22) - Exception (11)
- FalseClass (55)
- Fiber (3)
- File (82)
-
File
:: Stat (66) - Fixnum (24)
- Float (106)
- Hash (173)
- IO (384)
- Integer (109)
- MatchData (22)
- Method (22)
- Module (278)
- Mutex (8)
- NilClass (33)
- NoMethodError (14)
- Numeric (59)
- Object (255)
- Proc (13)
-
Process
:: Status (33) - Random (22)
- Range (105)
- Rational (27)
- Regexp (96)
-
RubyVM
:: InstructionSequence (55) - String (287)
- Struct (39)
- Symbol (52)
- SystemExit (11)
- Thread (110)
-
Thread
:: ConditionVariable (18) -
Thread
:: Mutex (36) -
Thread
:: Queue (54) -
Thread
:: SizedQueue (54) - ThreadGroup (11)
- Time (242)
- TracePoint (55)
- TrueClass (33)
- UnboundMethod (22)
モジュール
- Comparable (66)
- Enumerable (149)
- FileTest (239)
- GC (83)
-
GC
:: Profiler (33) - Kernel (264)
- ObjectSpace (33)
- Process (11)
-
Process
:: GID (33) -
Process
:: UID (22) -
RubyVM
:: AbstractSyntaxTree (8) -
RubyVM
:: MJIT (12) - Signal (22)
オブジェクト
- ENV (22)
キーワード
- ! (11)
- !~ (11)
-
$ -W (11) -
$ -v (11) -
$ -w (11) -
$ = (11) -
$ VERBOSE (11) - & (33)
- +@ (9)
- -@ (9)
- < (56)
- <= (56)
- == (217)
- === (69)
- > (56)
- >= (56)
- Complex (12)
- FalseClass (11)
- FileTest (11)
- Float (6)
- Integer (6)
- NIL (8)
- NilClass (11)
- NotImplementedError (11)
- Rational (6)
- Stat (11)
- Symbol (11)
- TRUE (8)
- [] (37)
- []= (11)
- ^ (33)
-
abort
_ on _ exception (22) -
absolute
_ path? (5) - alive? (14)
- all? (47)
- allbits? (7)
- allocate (11)
- any? (56)
- anybits? (7)
-
ascii
_ compatible? (11) -
ascii
_ only? (11) - atime (11)
- attr (33)
-
auto
_ compact (3) -
auto
_ compact= (3) - autoclose= (11)
- autoclose? (11)
- between? (11)
- binmode (11)
- binmode? (22)
-
block
_ given? (11) - blockdev? (11)
- broadcast (9)
- bsearch (22)
- casecmp? (16)
- casefold? (11)
- chardev? (11)
- chunk (33)
-
class
_ variable _ defined? (11) -
class
_ variables (11) - clone (11)
- close (18)
-
close
_ on _ exec= (11) -
close
_ on _ exec? (11) - closed? (31)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) - compile (22)
-
compile
_ file (11) -
compile
_ option (11) -
compile
_ option= (11) -
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
- coredump? (11)
- cover? (17)
- dedup (2)
- delete (11)
-
deprecate
_ constant (5) - deq (18)
- directory? (22)
- disable (44)
- dst? (11)
- dummy? (11)
- dup (11)
- each (59)
-
each
_ line (64) -
each
_ object (22) - empty? (58)
- enable (33)
- enabled? (22)
- enclosed? (11)
-
end
_ with? (16) - enq (9)
- eof (22)
- eof? (22)
- eql? (148)
- equal? (33)
- even? (17)
-
exclude
_ end? (11) - executable? (11)
-
executable
_ real? (11) - exist? (11)
- exit (11)
- exit! (22)
- exited? (11)
- fcntl (11)
- file? (11)
- finite? (27)
-
fixed
_ encoding? (11) - flock (11)
- fnmatch (11)
- fnmatch? (11)
- foreach (16)
- freeze (11)
- friday? (11)
- frozen? (11)
-
garbage
_ collect (22) - getlocal (22)
- gets (48)
- glob (8)
- gmt? (11)
- gmtime (11)
-
grant
_ privilege (22) - grpowned? (22)
-
has
_ key? (11) -
has
_ value? (11) - identical? (11)
-
ignore
_ deadlock (3) -
ignore
_ deadlock= (3) - include? (55)
-
incomplete
_ input? (11) -
initialize
_ copy (9) - inspect (11)
-
instance
_ methods (11) -
instance
_ of? (11) -
instance
_ variable _ defined? (11) - integer? (11)
- intersect? (3)
- ioctl (11)
-
is
_ a? (11) - isatty (11)
- isdst (11)
- iterator? (11)
- key? (22)
-
keyword
_ init? (3) -
kind
_ of? (11) - lambda? (11)
-
latest
_ gc _ info (22) - lines (16)
- load (11)
- local (22)
-
local
_ variable _ defined? (11) - localtime (22)
- locked? (11)
- lstat (22)
-
marshal
_ dump (11) - match? (24)
- member? (33)
-
method
_ defined? (11) - methods (11)
- mktime (22)
- monday? (11)
- name (4)
- negative? (26)
- new (61)
- nil? (11)
- nobits? (7)
- none? (47)
- odd? (17)
- of (2)
- one? (47)
- owned? (33)
- parameters (2)
- parse (2)
-
parse
_ file (4) - pause (6)
-
pending
_ interrupt? (11) - pipe? (11)
- pop (18)
- positive? (26)
-
private
_ class _ method (15) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
protected
_ instance _ methods (11) -
protected
_ method _ defined? (11) -
public
_ instance _ methods (11) -
public
_ method _ defined? (11) - push (9)
-
raw
_ data (11) -
re
_ exchangeable? (22) -
read
_ nonblock (20) - readable? (11)
-
readable
_ real? (11) - readline (24)
- readlines (48)
- real? (11)
- replicate (11)
-
report
_ on _ exception (16) - require (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (11) - resume (6)
-
ruby2
_ keywords _ hash? (5) - saturday? (11)
- setgid? (11)
- setuid? (11)
- shift (18)
-
sid
_ available? (11) - signal (9)
-
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ methods (11) - sleep (11)
- slice (66)
- socket? (11)
- spawn (44)
- start (11)
-
start
_ with? (16) - status (11)
- sticky? (11)
- stop? (11)
- store (11)
- stress= (11)
- success? (22)
- sunday? (11)
- symlink? (22)
- sync (11)
- system (44)
- taint (6)
- tainted? (9)
- test (22)
-
thread
_ variable? (11) - thursday? (11)
-
to
_ s (11) - trap (22)
-
try
_ lock (11) - tty? (11)
- tuesday? (11)
-
undef
_ method (11) -
unicode
_ normalized? (10) - unlink (11)
- untaint (6)
- untrusted? (3)
- upto (11)
- utc (11)
- utc? (11)
-
valid
_ encoding? (11) - value? (11)
- warn (3)
- wednesday? (11)
- writable? (11)
-
writable
_ real? (11) -
write
_ nonblock (11) - zero? (47)
- | (33)
- ~ (11)
検索結果
先頭5件
-
Object
:: FALSE -> FalseClass (24437.0) -
非推奨です。代表的な偽の値。false と同じ。
...です。代表的な偽の値。false と同じ。
この定数は過去との互換性のために提供されています。擬似変数 false を使ってください。
Ruby では false と nil が偽として扱われます。
偽でない値(false でも nil でもない値) は全て真と... -
RubyVM
:: InstructionSequence . compile _ file(file , options = nil) -> RubyVM :: InstructionSequence (12308.0) -
引数 file で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...file で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
RubyVM::InstructionSequence.compile とは異なり、file、path などの
メタデータは自動的に取得します。
@param file......ue、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::InstructionSequence.compile_option= を参照
してください。
# /tmp/hello.rb
puts "Hello, world!"
# irb
RubyVM::InstructionSequence.compile_file("/......tmp/hello.rb")
# => <RubyVM::InstructionSequence:<main>@/tmp/hello.rb>
@see RubyVM::InstructionSequence.compile... -
FalseClass (12050.0)
-
false のクラス。 false は FalseClass クラスの唯一のインスタンスです。 false は nil オブジェクトとともに偽を表し、 その他の全てのオブジェクトは真です。
...false のクラス。
false は FalseClass クラスの唯一のインスタンスです。
false は nil オブジェクトとともに偽を表し、
その他の全てのオブジェクトは真です。... -
FileTest
. # file?(file) -> bool (9230.0) -
ファイルが通常ファイルである時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
... false を返します。
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
例:
FileTest.file?('/bin/bash') # => true
FileTest.file?(......'/bin') # => false
FileTest.file?('/no_such_file') # => false... -
FileTest
. # executable _ real?(file) -> bool (9224.0) -
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...どには false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("empty.txt", "")
File.chmod(0744, "empty.txt")
FileTest.executable_real?("empty.txt") # => true
File.chmod(0644, "empty.txt")
FileTest.executable_real?("empty.tx......t") # => false
//}... -
FileTest
. # readable?(file) -> bool (9224.0) -
ファイルがカレントプロセスにより読み込み可能な時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...は false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("testfile", "")
File.chmod(0644, "testfile")
FileTest.readable?("testfile") # => true
File.chmod(0200, "testfile")
FileTest.readable?("testfile") # => false
//}... -
FileTest
. # writable?(file) -> bool (9224.0) -
ファイルがカレントプロセスにより書き込み可能である時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...は false を返します。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.chmod(0600, "testfile")
FileTest.writable?("testfile") # => true
File.chmod(0400, "testfile")
FileTest.writable?("testfile") # => false
/... -
FileTest
. # executable?(file) -> bool (9218.0) -
ファイルがカレントプロセスにより実行できる時に真を返しま す。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
例:
FileTest.executable?('/bin') # => true
FileTest.executable?('/bin/bash') # => true... -
FileTest
. # readable _ real?(file) -> bool (9218.0) -
ファイルがカレントプロセスの実ユーザか実グループによって読み込み可能な時に真を 返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...読み込み可能な時に真を
返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable?... -
FileTest
. # writable _ real?(file) -> bool (9218.0) -
ファイルがカレントプロセスの実ユーザか実グループによって書き込み可能である時に真 を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...込み可能である時に真
を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?...