3544件ヒット
[1-100件を表示]
(0.159秒)
種類
ライブラリ
- ビルトイン (770)
-
cgi
/ core (33) -
cgi
/ html (88) - delegate (22)
- drb (11)
- erb (22)
- fileutils (22)
- forwardable (77)
-
irb
/ cmd / help (11) -
irb
/ context (22) -
irb
/ extend-command (22) -
irb
/ input-method (253) -
irb
/ output-method (88) - json (220)
-
minitest
/ unit (3) -
net
/ http (22) -
net
/ imap (22) - objspace (11)
- openssl (88)
- pp (11)
- rake (33)
- rdoc (11)
-
rdoc
/ context (55) -
rdoc
/ stats (11) -
rdoc
/ top _ level (11) - rss (11)
- rubygems (11)
-
shell
/ command-processor (12) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (22) -
webrick
/ httpservlet / abstract (11) -
webrick
/ httpstatus (451) - win32ole (341)
クラス
- BasicObject (44)
- CGI (22)
-
DRb
:: DRbServer (11) - Delegator (22)
- ERB (11)
- Enumerator (7)
-
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: FileInputMethod (33) -
IRB
:: InputMethod (44) -
IRB
:: OutputMethod (55) -
IRB
:: ReadlineInputMethod (66) -
IRB
:: StdioInputMethod (66) -
IRB
:: StdioOutputMethod (11) - Method (108)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (1) - Module (200)
-
Net
:: HTTPGenericRequest (11) -
Net
:: IMAP (22) - NoMethodError (25)
- Object (143)
-
OpenSSL
:: Engine (88) - PP (11)
-
RDoc
:: Context (55) -
RDoc
:: Stats (11) -
RDoc
:: TopLevel (11) -
Rake
:: FileList (22) - Refinement (3)
- Regexp (33)
-
RubyVM
:: InstructionSequence (33) -
Shell
:: CommandProcessor (12) - Thread (11)
- TracePoint (11)
- UnboundMethod (97)
-
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (11) - WIN32OLE (88)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (209) -
WIN32OLE
_ PARAM (11) -
WIN32OLE
_ TYPE (11)
モジュール
-
CGI
:: HtmlExtension (88) -
CGI
:: QueryExtension (11) -
ERB
:: DefMethod (11) - FileUtils (22)
- Forwardable (33)
-
Gem
:: QuickLoader (11) -
IRB
:: ExtendCommandBundle (22) -
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 :: String :: Extend (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (22)
- Marshal (22)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (11) - ObjectSpace (11)
- RDoc (11)
- SingleForwardable (44)
-
WEBrick
:: HTTPStatus (440)
オブジェクト
- main (22)
キーワード
-
ARRAY
_ METHODS (11) -
DELEGATING
_ METHODS (11) - Extend (22)
- FileInputMethod (11)
-
INSECURE
_ METHOD (11) - InputMethod (11)
- Integer (22)
- METHODS (11)
-
METHOD
_ ALL (11) -
METHOD
_ CIPHERS (11) -
METHOD
_ DH (11) -
METHOD
_ DIGESTS (11) -
METHOD
_ DSA (11) -
METHOD
_ MODIFIERS (11) -
METHOD
_ NONE (11) -
METHOD
_ RAND (11) -
METHOD
_ RSA (11) - MethodNotAllowed (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NilClass (22)
- NoDelegateMethods (6)
- OutputMethod (11)
-
RC
_ ACCEPTED (11) -
RC
_ BAD _ GATEWAY (11) -
RC
_ BAD _ REQUEST (11) -
RC
_ CONFLICT (11) -
RC
_ CONTINUE (11) -
RC
_ CREATED (11) -
RC
_ EXPECTATION _ FAILED (11) -
RC
_ FORBIDDEN (11) -
RC
_ FOUND (11) -
RC
_ GATEWAY _ TIMEOUT (11) -
RC
_ GONE (11) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (11) -
RC
_ INTERNAL _ SERVER _ ERROR (11) -
RC
_ LENGTH _ REQUIRED (11) -
RC
_ METHOD _ NOT _ ALLOWED (11) -
RC
_ MOVED _ PERMANENTLY (11) -
RC
_ MULTIPLE _ CHOICES (11) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (11) -
RC
_ NOT _ ACCEPTABLE (11) -
RC
_ NOT _ FOUND (11) -
RC
_ NOT _ IMPLEMENTED (11) -
RC
_ NOT _ MODIFIED (11) -
RC
_ NO _ CONTENT (11) -
RC
_ OK (11) -
RC
_ PARTIAL _ CONTENT (11) -
RC
_ PAYMENT _ REQUIRED (11) -
RC
_ PRECONDITION _ FAILED (11) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (11) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (11) -
RC
_ REQUEST _ RANGE _ NOT _ SATISFIABLE (11) -
RC
_ REQUEST _ TIMEOUT (11) -
RC
_ REQUEST _ URI _ TOO _ LARGE (11) -
RC
_ RESET _ CONTENT (11) -
RC
_ SEE _ OTHER (11) -
RC
_ SERVICE _ UNAVAILABLE (11) -
RC
_ SWITCHING _ PROTOCOLS (11) -
RC
_ TEMPORARY _ REDIRECT (11) -
RC
_ UNAUTHORIZED (11) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (11) -
RC
_ USE _ PROXY (11) - ReadlineInputMethod (11)
- StdioInputMethod (11)
- StdioOutputMethod (11)
- String (22)
- UnknownConversionMethodError (11)
-
WIN32OLE
_ METHOD (11) - [] (11)
-
_ _ method _ _ (11) -
absolute
_ path (11) -
add
_ response _ handler (22) -
add
_ to (11) -
alias
_ method (11) - arity (22)
-
assert
_ respond _ to (1) - bind (11)
-
bind
_ call (10) -
bm
_ mark (11) - bmcall (11)
- caller (11)
- cgi (11)
-
clone
_ method (11) -
collect
_ method (11) -
convert
_ type (11) -
count
_ nodes (11) - curry (10)
- debug (11)
-
def
_ delegator (22) -
def
_ delegators (11) -
def
_ erb _ method (11) -
def
_ instance _ delegator (11) -
def
_ instance _ delegators (11) -
def
_ method (11) -
def
_ single _ delegator (11) -
def
_ single _ delegators (11) -
define
_ method (44) -
define
_ singleton _ method (22) - dispid (11)
- dump (22)
- encoding (33)
-
enum
_ for (22) - eof? (22)
- event? (11)
-
event
_ interface (11) - execute (11)
-
file
_ name (11) -
find
_ local _ symbol (11) -
find
_ symbol (11) - form (44)
- gets (44)
- handler= (11)
- hash (22)
- header (11)
- helpcontext (11)
- helpfile (11)
- helpstring (11)
-
import
_ methods (3) -
initialize
_ methods _ etc (11) -
ins
_ methods _ i (11) -
ins
_ methods _ priv _ i (11) -
ins
_ methods _ prot _ i (11) - inspect (22)
-
install
_ alias _ method (11) -
instance
_ method (11) -
instance
_ methods (11) - invkind (11)
-
invoke
_ kind (11) - io (11)
- irb (11)
-
irb
/ input-method (11) -
irb
/ output-method (11) -
irb
_ original _ method _ name (11) -
json
_ create (11) -
last
_ match (11) - line (22)
- match (22)
-
method
_ added (6) -
method
_ arity (11) -
method
_ call (11) -
method
_ clone (11) -
method
_ defined? (11) -
method
_ eq (11) -
method
_ id (11) -
method
_ inspect (11) -
method
_ list (22) -
method
_ missing (44) -
method
_ proc (11) -
method
_ unbind (11) -
method
_ undefined (11) - methods (11)
-
multipart
_ form (44) - name (11)
- new (101)
-
num
_ methods (11) -
offset
_ vtbl (11) -
ole
_ func _ methods (11) -
ole
_ get _ methods (11) -
ole
_ method (11) -
ole
_ method _ help (11) -
ole
_ methods (22) -
ole
_ put _ methods (11) -
ole
_ show _ help (11) -
original
_ name (22) - out (11)
- params (11)
- path (11)
- pp (11)
- ppx (11)
- print (22)
- printn (11)
-
private
_ call? (8) -
private
_ class _ method (15) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) -
protected
_ instance _ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (11) -
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) -
rb
_ add _ method (11) -
rb
_ check _ convert _ type (11) -
rb
_ class _ instance _ methods (11) -
rb
_ class _ private _ instance _ methods (11) -
rb
_ class _ protected _ instance _ methods (11) -
rb
_ convert _ type (11) -
rb
_ define _ global _ function (11) -
rb
_ define _ method (11) -
rb
_ define _ method _ id (11) -
rb
_ define _ module _ function (11) -
rb
_ define _ private _ method (11) -
rb
_ define _ protected _ method (11) -
rb
_ define _ singleton _ method (11) -
rb
_ export _ method (11) -
rb
_ get _ method _ body (11) -
rb
_ method _ boundp (11) -
rb
_ mod _ alias _ method (11) -
rb
_ mod _ define _ method (11) -
rb
_ mod _ method (11) -
rb
_ mod _ method _ defined (11) -
rb
_ mod _ private _ method (11) -
rb
_ mod _ public _ method (11) -
rb
_ mod _ remove _ method (11) -
rb
_ mod _ undef _ method (11) -
rb
_ obj _ method (11) -
rb
_ obj _ methods (11) -
rb
_ obj _ private _ methods (11) -
rb
_ obj _ protected _ methods (11) -
rb
_ obj _ singleton _ methods (11) -
rb
_ remove _ method (11) -
rb
_ scan _ args (11) -
rb
_ to _ integer (11) -
rb
_ undef _ method (11) -
readable
_ atfer _ eof? (33) - receiver (11)
-
remove
_ method (11) -
request
_ method (33) -
request
_ method= (11) -
return
_ type (11) -
return
_ type _ detail (11) -
return
_ vtype (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby2
_ keywords (5) -
search
_ method (11) - seplist (11)
- service (11)
-
set
_ method _ visibility (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 (22) -
super
_ method (20) -
test
_ methods (1) -
to
_ a (11) -
to
_ enum (22) -
to
_ json (99) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ s (33) - umcall (11)
-
umethod
_ bind (11) -
umethod
_ call (11) -
umethod
_ proc (11) -
umethod
_ unbind (11) - unbind (11)
- visible? (11)
検索結果
先頭5件
-
static int ins
_ methods _ i(ID key , NODE *body , VALUE ary) (38300.0) -
rb_class_instance_methods() のイテレータブロック (通常版)。
...rb_class_instance_methods() のイテレータブロック (通常版)。... -
static int ins
_ methods _ priv _ i(ID key , NODE *body , VALUE ary) (38300.0) -
rb_class_instance_methods() のイテレータブロック (private メソッド版)。
...rb_class_instance_methods() のイテレータブロック
(private メソッド版)。... -
static int ins
_ methods _ prot _ i(ID key , NODE *body , VALUE ary) (38300.0) -
rb_class_instance_methods() のイテレータブロック (protected メソッド版)。
...rb_class_instance_methods() のイテレータブロック
(protected メソッド版)。... -
irb
/ input-method (38000.0) -
irb が入力を扱うためのサブライブラリです。
...irb が入力を扱うためのサブライブラリです。
ユーザが直接使用するものではありません。... -
irb
/ output-method (38000.0) -
irb が出力を扱うためのサブライブラリです。
...irb が出力を扱うためのサブライブラリです。... -
Net
:: HTTPGenericRequest # method -> String (27313.0) -
リクエストの HTTP メソッドを文字列で返します。
...リクエストの HTTP メソッドを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Post.new(uri.request_uri)
req.method # => "POST"
req = Net::HTTP::Get.new(uri.request_uri)
req.method # => "GET"
//}... -
irb (26108.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......ibrary ruby -r と同じ
-I ruby -I と同じ
-U ruby -U と同じ
-E enc ruby -E と同じ
--verbose これから実行する行を表示する
--noverbose これから実行する行を表示しない (デフォルト)
--ech......rb(main):004:0> x = "OK" # ローカル変数 x を定義
=> "OK"
irb(main):005:0> x # x を表示
=> "OK"
irb(main):006:0> irb # サブ irb を起動
irb#1(main):001:0> x # x を表示
NameError: undefined local variable or method `x'... -
Object
# define _ singleton _ method(symbol , method) -> Symbol (24651.0) -
self に特異メソッド name を定義します。
...m symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class <<......self
def class_name
to_s
end
end
end
A.define_singleton_method(:who_am_i) do
"I am: #{class_name}"
end
A.who_am_i # ==> "I am: A"
guy = "Bob"
guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
guy.hello #=> "Bob: Hello there!"
//}... -
Method
# super _ method -> Method | nil (24578.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
... Method オブジェ
クトにして返します。
@see UnboundMethod#super_method
//emlist[例][ruby]{
class Super
def foo
"superclass method"
end
end
class Sub < Super
def foo
"subclass method"
end
end
m = Sub.new.method(:foo) # => #<Method: Sub#foo>
m.call # => "subclass meth......od"
m.super_method # => #<Method: Super#foo>
m.super_method.call # => "superclass method"
//}... -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (24451.0) -
self に特異メソッド name を定義します。
...m symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class <<......self
def class_name
to_s
end
end
end
A.define_singleton_method(:who_am_i) do
"I am: #{class_name}"
end
A.who_am_i # ==> "I am: A"
guy = "Bob"
guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
guy.hello #=> "Bob: Hello there!"
//}...