2908件ヒット
[2901-2908件を表示]
(0.192秒)
ライブラリ
- ビルトイン (1379)
-
cgi
/ core (33) -
cgi
/ html (88) - delegate (44)
- erb (33)
- forwardable (88)
-
irb
/ cmd / help (11) -
irb
/ context (11) -
irb
/ extend-command (11) -
irb
/ input-method (165) -
irb
/ output-method (66) - json (143)
-
minitest
/ spec (1) -
minitest
/ unit (2) -
net
/ http (22) -
net
/ imap (22) - openssl (110)
- pp (11)
- psych (8)
- rake (11)
-
rdoc
/ code _ object (11) -
rdoc
/ context (88) -
rdoc
/ stats (22) -
rdoc
/ top _ level (11) - rubygems (11)
-
webrick
/ cgi (11) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (22) -
webrick
/ httpservlet / abstract (11) - win32ole (451)
クラス
- Array (9)
- BasicObject (66)
- CGI (22)
- Delegator (44)
- ERB (33)
- Enumerator (44)
-
Enumerator
:: Lazy (44) - Exception (11)
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: FileInputMethod (22) -
IRB
:: InputMethod (33) -
IRB
:: OutputMethod (55) -
IRB
:: ReadlineInputMethod (55) -
IRB
:: StdioInputMethod (55) -
IRB
:: StdioOutputMethod (11) -
JSON
:: State (22) - Method (247)
-
MiniTest
:: Unit (1) - Module (362)
- NameError (22)
-
Net
:: HTTPGenericRequest (11) -
Net
:: IMAP (22) - NoMethodError (19)
- Object (199)
-
OpenSSL
:: Engine (11) -
OpenSSL
:: SSL :: SSLContext (88) -
OpenSSL
:: X509 :: Store (11) - PP (11)
- Proc (50)
-
RDoc
:: CodeObject (11) -
RDoc
:: Context (88) -
RDoc
:: Stats (22) -
RDoc
:: TopLevel (11) - Refinement (3)
- Regexp (22)
-
RubyVM
:: InstructionSequence (66) - String (33)
- Thread (11)
- TracePoint (28)
- UnboundMethod (163)
-
WEBrick
:: CGI (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (11) - WIN32OLE (121)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (198) -
WIN32OLE
_ PARAM (99) -
WIN32OLE
_ TYPE (22)
モジュール
-
CGI
:: HtmlExtension (88) -
CGI
:: QueryExtension (11) - Forwardable (44)
-
Gem
:: QuickLoader (11) -
IRB
:: ExtendCommandBundle (11) -
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (33) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) -
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (11) - SingleForwardable (44)
キーワード
- << (12)
- == (22)
- === (7)
- >> (12)
- [] (33)
-
_ getproperty (11) -
_ invoke (11) -
_ setproperty (11) -
absolute
_ path (11) -
add
_ method (11) -
add
_ response _ handler (22) -
add
_ to (11) -
alias
_ method (11) - args (11)
- arity (22)
-
assert
_ respond _ to (1) - backtrace (11)
-
base
_ label (11) - bind (11)
-
bind
_ call (10) - call (22)
-
callee
_ id (11) -
class
_ exec (11) -
client
_ cert _ cb= (11) - clone (22)
- curry (20)
-
def
_ class (11) -
def
_ delegator (22) -
def
_ delegators (22) -
def
_ instance _ delegator (11) -
def
_ instance _ delegators (11) -
def
_ method (11) -
def
_ module (11) -
def
_ single _ delegator (11) -
def
_ single _ delegators (11) - default (11)
-
default
_ event _ sources (11) -
define
_ method (22) -
define
_ singleton _ method (22) - dig (9)
- dispid (11)
- each (44)
-
each
_ method (11) - encode (33)
- encoding (33)
-
enum
_ for (44) - eof? (22)
- eql? (22)
- event? (11)
-
event
_ interface (11) - execute (11)
-
file
_ name (11) -
find
_ local _ symbol (22) -
find
_ symbol (11) -
first
_ lineno (11) - form (44)
- generate (11)
- gets (44)
- handler= (11)
- hash (22)
- header (11)
- helpcontext (11)
- helpfile (11)
- helpstring (11)
-
import
_ methods (3) -
initialize
_ methods _ etc (11) - input? (11)
- inspect (22)
-
install
_ alias _ method (11) -
instance
_ eval (22) -
instance
_ method (11) -
instance
_ methods (11) - invkind (11)
-
invoke
_ kind (11) - io (11)
- label (11)
- lambda? (11)
- line (22)
- match (22)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ id (11) -
method
_ list (11) -
method
_ missing (44) -
method
_ removed (11) -
method
_ undefined (11) - methods (22)
-
module
_ exec (11) -
module
_ function (19) -
multipart
_ form (44) -
must
_ respond _ to (1) - name (55)
-
num
_ methods (11) -
num
_ methods= (11) -
offset
_ vtbl (11) -
ole
_ activex _ initialize (11) -
ole
_ func _ methods (11) -
ole
_ get _ methods (11) -
ole
_ method (11) -
ole
_ method _ help (11) -
ole
_ methods (22) -
ole
_ put _ methods (11) -
ole
_ type (11) -
ole
_ type _ detail (11) - optional? (11)
-
original
_ name (22) - out (11)
- output? (11)
- owner (22)
- parameters (39)
- params (11)
- path (11)
- pp (11)
- ppx (11)
- print (22)
- printn (11)
- private (23)
-
private
_ call? (8) -
private
_ class _ method (15) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) - protected (23)
-
protected
_ instance _ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (22) -
psych
_ yaml _ as (4) - public (23)
-
public
_ class _ method (15) -
public
_ instance _ method (11) -
public
_ instance _ methods (11) -
public
_ method (11) -
public
_ method _ defined? (11) -
public
_ methods (22) - puke (1)
- puts (11)
-
rake
_ extension (11) -
readable
_ atfer _ eof? (33) - receiver (11)
-
remove
_ method (11) -
remove
_ methods _ etc (11) -
renegotiation
_ cb= (11) -
request
_ method (33) -
request
_ method= (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) -
return
_ type (11) -
return
_ type _ detail (11) -
return
_ vtype (11) - retval? (11)
-
ruby2
_ keywords (10) - send (22)
- seplist (11)
-
servername
_ cb= (11) - service (22)
-
session
_ get _ cb= (11) -
session
_ new _ cb= (11) -
session
_ remove _ cb= (11) -
set
_ default (11) -
set
_ visibility _ for (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) -
size
_ opt _ params (11) -
size
_ params (11) -
source
_ location (33) -
super
_ method (20) -
tmp
_ dh _ callback= (11) -
to
_ a (11) -
to
_ enum (44) -
to
_ json (99) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ proc (11) -
to
_ s (55) - unbind (11)
-
undef
_ method (11) -
verify
_ callback= (22) - visible? (11)
-
yaml
_ as (4)
検索結果
先頭1件
-
Proc
# lambda? -> bool (61.0) -
手続きオブジェクトの引数の取扱が厳密であるならば true を返します。
...らば true を返します。
引数の取扱の厳密さの意味は以下の例を参考にしてください。
//emlist[例][ruby]{
# lambda で生成した Proc オブジェクトでは true
lambda{}.lambda? # => true
# proc で生成した Proc オブジェクトでは false
proc{}.lambda......? # => false
# Proc.new で生成した Proc オブジェクトでは false
Proc.new{}.lambda? # => false
# 以下、lambda?が偽である場合
# 余分な引数を無視する
proc{|a,b| [a,b]}.call(1,2,3) # => [1,2]
# 足りない引数には nil が渡される
proc{|a,b| [a,b]}.call(1) # =>......ArgumentError となる
# &が付いた仮引数で生成される Proc は lambda? が偽となる
def n(&b) b.lambda? end
n {} # => false
# &が付いた実引数によるものは、lambda?が元の Procオブジェクトから
# 引き継がれる
lambda(&lambda {}).lambda? #=> true
proc(&...