4963件ヒット
[1-100件を表示]
(0.278秒)
クラス
-
ARGF
. class (77) - Array (150)
- BasicObject (44)
- Bignum (15)
- Binding (11)
- Class (11)
- Complex (30)
- Data (4)
- Dir (20)
- Encoding (33)
-
Encoding
:: InvalidByteSequenceError (11) - Enumerator (44)
-
Enumerator
:: Lazy (22) - Exception (11)
- FalseClass (55)
- Fiber (3)
- File (82)
-
File
:: Stat (66) - Fixnum (24)
- Float (106)
- Hash (173)
- IO (384)
- Integer (120)
- MatchData (22)
- Method (22)
- Module (278)
- Mutex (10)
- NilClass (33)
- NoMethodError (14)
- Numeric (59)
- Object (255)
- Proc (24)
-
Process
:: Status (33) - Random (22)
- Range (116)
- Rational (27)
- Regexp (96)
-
RubyVM
:: InstructionSequence (55) - String (320)
- Struct (53)
- Symbol (52)
- SystemExit (11)
- Thread (148)
-
Thread
:: ConditionVariable (18) -
Thread
:: Mutex (45) -
Thread
:: Queue (54) -
Thread
:: SizedQueue (63) - ThreadGroup (11)
- Time (319)
- TracePoint (66)
- TrueClass (33)
- UnboundMethod (22)
モジュール
- Comparable (66)
- Enumerable (149)
- FileTest (239)
- GC (83)
-
GC
:: Profiler (33) - Kernel (264)
- ObjectSpace (55)
- Process (22)
-
Process
:: GID (44) -
Process
:: UID (33) -
RubyVM
:: AbstractSyntaxTree (12) -
RubyVM
:: MJIT (12) - Signal (22)
オブジェクト
- ENV (22)
キーワード
- ! (11)
- !~ (11)
-
$ -W (11) -
$ -v (11) -
$ -w (11) -
$ = (11) -
$ VERBOSE (11) - & (33)
- +@ (9)
- -@ (9)
- < (56)
- << (9)
- <= (56)
- == (217)
- === (69)
- > (56)
- >= (56)
- Complex (12)
- ENV (6)
- FalseClass (11)
- FileTest (11)
- Float (6)
- Integer (6)
- NIL (8)
- NilClass (11)
- NotImplementedError (11)
- Range (11)
- Rational (6)
- Regexp (3)
- Stat (11)
- Status (11)
- String (11)
- Symbol (11)
- TRUE (8)
- TracePoint (11)
- [] (77)
- []= (11)
- ^ (33)
-
_ _ id _ _ (11) -
abort
_ on _ exception (22) -
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 (44)
- 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 (92)
-
each
_ line (64) -
each
_ object (44) - eid= (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 (22)
- 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) - getgm (11)
- getlocal (22)
- gets (48)
- getutc (11)
- glob (8)
- gm (22)
- gmt? (11)
- gmtime (11)
-
grant
_ privilege (22) - grpowned? (22)
-
has
_ key? (11) -
has
_ value? (11) - hash (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? (22)
- 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)
- main (11)
-
marshal
_ dump (11) - match? (24)
- member? (33)
-
method
_ defined? (11) - methods (11)
- mktime (22)
- monday? (11)
- name (4)
- negative? (26)
- new (79)
- nil? (11)
- nobits? (7)
- none? (47)
- odd? (17)
- of (4)
- one? (47)
- owned? (33)
- parameters (2)
- parse (4)
-
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) -
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)
- synchronize (11)
- system (44)
- taint (6)
- tainted? (9)
- test (22)
-
thread
_ variable? (11) - thursday? (11)
-
to
_ a (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 (33)
- 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 (26237.0) -
非推奨です。代表的な偽の値。false と同じ。
...推奨です。代表的な偽の値。false と同じ。
この定数は過去との互換性のために提供されています。擬似変数 false を使ってください。
Ruby では false と nil が偽として扱われます。
偽でない値(false でも nil でもない値) は全て... -
FalseClass (14050.0)
-
false のクラス。 false は FalseClass クラスの唯一のインスタンスです。 false は nil オブジェクトとともに偽を表し、 その他の全てのオブジェクトは真です。
...false のクラス。
false は FalseClass クラスの唯一のインスタンスです。
false は nil オブジェクトとともに偽を表し、
その他の全てのオブジェクトは真です。... -
FalseClass
# &(other) -> false (11257.0) -
常に false を返します。
...常に false を返します。
@param other 論理積を行なう式です。
& は再定義可能な演算子に分類されていますので、通常は false & other の形で使われます。
//emlist[例][ruby]{
p false & true #=> false
p false & false #=> false
p false & nil......#=> false
p false & (1 == 1) #=> false
p false & (1 + 1) #=> false
p false.&(true) #=> false
p false.&(false) #=> false
p false.&(nil) #=> false
p false.&(1 == 1) #=> false
p false.&(1 + 1) #=> false
//}... -
FalseClass
# ^(other) -> bool (11120.0) -
other が真なら true を, 偽なら false を返します。
...ら false を返します。
@param other 排他的論理和を行なう式です。
^ は再定義可能な演算子に分類されていますので、通常は false ^ other の形で使われます。
//emlist[例][ruby]{
p false ^ true #=> true
p false ^ false #=> false
p false ^ nil......#=> false
p false ^ (1 == 1) #=> true
p false ^ (1 + 1) #=> true
p false.^(true) #=> true
p false.^(false) #=> false
p false.^(nil) #=> false
p false.^(1 == 1) #=> true
p false.^(1 + 1) #=> true
//}... -
FalseClass
# |(other) -> bool (11120.0) -
other が真なら true を, 偽なら false を返します。
...偽なら false を返します。
@param other 論理和を行なう式です。
| は再定義可能な演算子に分類されていますので、通常は false | other の形で使われます。
//emlist[例][ruby]{
p false | true #=> true
p false | false #=> false
p false | nil......#=> false
p false | (1 == 1) #=> true
p false | (1 + 1) #=> true
p false.|(true) #=> true
p false.|(false) #=> false
p false.|(nil) #=> false
p false.|(1 == 1) #=> true
p false.|(1 + 1) #=> true
//}... -
FalseClass
# inspect -> String (11030.0) -
常に文字列 "false" を返します。
...常に文字列 "false" を返します。
//emlist[例][ruby]{
false.to_s # => "false"
//}... -
FalseClass
# to _ s -> String (11030.0) -
常に文字列 "false" を返します。
...常に文字列 "false" を返します。
//emlist[例][ruby]{
false.to_s # => "false"
//}... -
RubyVM
:: AbstractSyntaxTree . of(proc , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (8305.0) -
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
このメソッドはProcやメソッドが定義されたファイルを読み込む必要があるため、
irbのようなファイルを介さない対話的環境では動作しません。
@param proc Procもしくはメソッドオブジェクトを指定します。
@param keep_script_lines true を指定すると、 Node#script_lines でノードと関連づけられたソースコードのテキストを取得できます。
@param keep_tokens true を指定すると、 Node#token が利用できます。
@param e... -
RubyVM
:: AbstractSyntaxTree . parse(string , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (8305.0) -
文字列を抽象構文木にパースし、その木の根ノードを返します。
文字列を抽象構文木にパースし、その木の根ノードを返します。
@param string パースする対象の Ruby のコードを文字列で指定します。
@param keep_script_lines true を指定すると、 Node#script_lines でノードと関連づけられたソースコードのテキストを取得できます。
@param keep_tokens true を指定すると、 Node#token が利用できます。
@param error_tolerant true を指定すると、構文エラーが発生した際にエラー箇所を type が :ERROR であるようなノードに置き換えてツリ... -
RubyVM
:: AbstractSyntaxTree . parse _ file(pathname , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (8305.0) -
pathname のファイルを読み込み、その内容を抽象構文木にパースし、その木の根ノードを返します。
pathname のファイルを読み込み、その内容を抽象構文木にパースし、その木の根ノードを返します。
@param pathname パースする対象のファイルパスを指定します
@param keep_script_lines true を指定すると、 Node#script_lines でノードと関連づけられたソースコードのテキストを取得できます。
@param keep_tokens true を指定すると、 Node#token が利用できます。
@param error_tolerant true を指定すると、構文エラーが発生した際にエラー箇所を type が :ERROR である... -
NilClass
# &(other) -> false (8149.0) -
常に false を返します。
...常に false を返します。
@param other 論理積を行なう式です
//emlist[例][ruby]{
nil & true # => false
nil & false # => false
nil & nil # => false
nil & "a" # => false
//}... -
Object
# respond _ to?(name , include _ all = false) -> bool (8139.0) -
オブジェクトがメソッド name を持つとき真を返します。
...の Process.fork や GNU/Linux での File.lchmod の
ような NotImplementedError が発生する場合は false を返します。
※ NotImplementedError が発生する場合に false を返すのは
Rubyの組み込みライブラリや標準ライブラリなど、C言語で実装されて......l private メソッドと protected メソッドを確認の対象に
含めるかを true か false で指定します。省略した場合
は false(含めない) を指定した事になります。
//emlist[][ruby]{
class F
def hello
"Bonjour"
end
e......生しているが、Rubyによる実装部のため true を返す
puts NotImplTemplateMethod.new.respond_to?(:template_method) # => true
# GNU/Linux で実行。C言語による実装部のため false を返す
puts File.respond_to?(:lchmod) # => false
//}
@see Module#method_defined?...