5878件ヒット
[5601-5700件を表示]
(0.110秒)
別のキーワード
ライブラリ
- ビルトイン (3870)
- abbrev (12)
- bigdecimal (60)
-
cgi
/ core (12) - csv (132)
- digest (60)
- erb (24)
-
irb
/ cmd / help (12) - json (108)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - logger (12)
- mkmf (12)
-
net
/ http (132) - openssl (12)
- optparse (396)
- pathname (36)
- psych (12)
- rake (24)
-
rexml
/ document (132) -
rubygems
/ installer (12) -
rubygems
/ requirement (12) - socket (12)
- stringio (292)
- strscan (300)
- uri (36)
- win32ole (36)
クラス
-
ARGF
. class (84) - Array (81)
- BasicObject (12)
- BigDecimal (72)
- CGI (12)
- CSV (72)
-
CSV
:: Table (36) - Complex (12)
- Date (12)
- DateTime (12)
-
Digest
:: Base (60) - Dir (19)
- ERB (24)
-
Encoding
:: Converter (84) -
Encoding
:: InvalidByteSequenceError (12) - Enumerator (24)
- Exception (44)
- File (16)
- Float (24)
-
Gem
:: Installer (12) -
Gem
:: Requirement (12) - IO (64)
-
IRB
:: ExtendCommand :: Help (12) - Integer (60)
- Logger (12)
- MatchData (110)
- Method (36)
- Module (600)
-
Net
:: HTTPGenericRequest (12) -
Net
:: HTTPResponse (24) - NilClass (7)
- Object (237)
-
OpenSSL
:: BN (12) - OptionParser (348)
- Pathname (36)
- Proc (12)
-
Psych
:: ScalarScanner (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (12) -
REXML
:: CData (24) -
REXML
:: DocType (24) -
REXML
:: Element (24) -
REXML
:: Entity (12) -
REXML
:: Text (24) -
Rake
:: FileList (24) - Random (12)
- Range (100)
- Rational (36)
- Regexp (60)
-
RubyVM
:: AbstractSyntaxTree :: Node (7) -
RubyVM
:: InstructionSequence (94) - Socket (12)
- String (1875)
- StringIO (292)
- StringScanner (300)
- Struct (24)
- Symbol (59)
- Thread (10)
-
Thread
:: Backtrace :: Location (72) - Time (24)
- TracePoint (19)
-
URI
:: MailTo (36) - UnboundMethod (60)
-
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ TYPELIB (12) -
WIN32OLE
_ VARIANT (12)
モジュール
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (12)
-
Net
:: HTTPHeader (96) -
OptionParser
:: Arguable (48)
キーワード
- % (26)
- * (36)
- + (12)
- +@ (10)
- -@ (10)
- << (24)
- <=> (24)
- == (24)
- === (48)
- =~ (40)
- [] (204)
- []= (84)
-
_ _ id _ _ (12) -
_ dump (24) - abbrev (12)
-
absolute
_ path (24) -
add
_ element (12) -
alias
_ method (12) -
append
_ as _ bytes (1) -
arg
_ config (12) - attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) -
attribute
_ of (12) - autoload (12)
- autoload? (12)
- backtrace (12)
-
base
_ label (24) -
basic
_ auth (12) - binread (12)
- body (12)
- byteindex (3)
- byterindex (3)
- bytes (50)
- bytesize (12)
- byteslice (36)
- capitalize (12)
- capitalize! (12)
- captures (12)
- casecmp (24)
- casecmp? (18)
- center (12)
- charpos (12)
- chars (24)
- check (12)
-
check
_ until (12) - children (7)
- chomp (12)
- chomp! (12)
- chop (12)
- chop! (12)
- chr (36)
- class (12)
-
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - clear (12)
- clone (12)
- codepoints (24)
- coerce (12)
-
col
_ sep (12) - concat (33)
- connect (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ set (12) -
const
_ source _ location (12) - convert (12)
- count (12)
- cover? (19)
- crypt (12)
-
datetime
_ format (12) - deconstruct (2)
- dedup (3)
-
default
_ argv (12) -
define
_ method (24) -
define
_ singleton _ method (24) - delete (24)
- delete! (12)
-
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
deprecate
_ constant (12) - digest (12)
- digest! (12)
- disasm (12)
- disassemble (12)
- downcase (12)
- downcase! (12)
- dump (8)
- dup (12)
- each (24)
-
each
_ byte (48) -
each
_ char (24) -
each
_ codepoint (24) -
each
_ grapheme _ cluster (16) -
each
_ line (48) - encode (36)
- encode! (24)
- encoding (12)
-
end
_ with? (18) - entity (12)
- environment (12)
- eql? (24)
-
error
_ bytes (12) -
eval
_ script (7) - execute (12)
- exist? (12)
- ext (12)
- fetch (36)
- finish (12)
-
force
_ encoding (12) -
formatted
_ program _ filename (12) - freeze (12)
-
get
_ fields (12) - getbyte (24)
- getc (24)
- gets (60)
-
grapheme
_ clusters (16) - gsub (48)
- gsub! (48)
- hash (24)
- header (12)
- headers (12)
- helpfile (12)
- hex (12)
- hexdigest (12)
- hexdigest! (12)
- include? (12)
- index (12)
-
inplace
_ mode (12) - insert (12)
-
insert
_ output (12) - inspect (163)
-
instance
_ method (12) - join (12)
- label (24)
- length (12)
- lines (38)
- ljust (12)
- lstrip (12)
- match (24)
- match? (30)
- method (12)
-
method
_ defined? (12) -
module
_ function (36) - name (17)
- name= (10)
- namespace (12)
- next! (12)
- oct (12)
- on (144)
- ord (24)
- order (48)
- order! (48)
- pack (21)
- parse (24)
- parse! (24)
-
parse
_ csv (12) - partition (12)
- path (56)
- pathmap (12)
- peek (12)
- peep (12)
- permute (24)
- permute! (24)
- pointer (12)
- pointer= (12)
- pos (12)
- pos= (12)
-
post
_ match (12) -
pre
_ match (12) - pread (8)
- prepend (21)
-
pretty
_ print (12) - print (24)
- printf (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ method _ defined? (12) -
program
_ name (12) -
protected
_ method _ defined? (12) -
proxy
_ basic _ auth (12) - public (48)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ instance _ method (12) -
public
_ method (12) -
public
_ method _ defined? (12) - putback (24)
- puts (12)
- pwrite (8)
-
quote
_ char (12) - read (24)
-
read
_ body (24) - readbyte (12)
- readchar (24)
- readline (24)
- readlines (48)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ method (12) - reopen (24)
- replacement (12)
- replacement= (12)
- reset (12)
- result (12)
- rindex (12)
- rjust (12)
-
row
_ sep (12) - rpartition (12)
- rstrip (12)
- rstrip! (12)
- scan (36)
-
scan
_ full (12) -
scan
_ until (12) - scrub (36)
- scrub! (36)
-
search
_ full (12) -
set
_ backtrace (12) - setbyte (12)
- shift (12)
-
singleton
_ class (12) -
singleton
_ method (12) - size (12)
- skip (12)
-
skip
_ until (12) - slice (72)
-
source
_ location (36) - split (31)
- squeeze (12)
- squeeze! (12)
- src (12)
-
start
_ with? (18) - step (31)
- strftime (12)
- strip (12)
- strip! (12)
- sub (60)
- sub! (36)
- succ! (12)
- sum (12)
-
summary
_ indent (12) - swapcase (12)
- swapcase! (12)
- syswrite (12)
- tainted? (6)
- terminate (12)
- text (12)
- then (14)
-
to
_ a (12) -
to
_ binary (10) -
to
_ c (12) -
to
_ csv (12) -
to
_ f (12) -
to
_ i (12) -
to
_ json (228) -
to
_ mailtext (12) -
to
_ path (8) -
to
_ r (12) -
to
_ rfc822text (12) -
to
_ s (204) -
to
_ str (12) - tokenize (12)
- tr (12)
-
tr
_ s (12) -
tr
_ s! (12) - truncate (12)
-
undef
_ method (12) - undump (8)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unpack (12)
- unpack1 (9)
- unscan (12)
- upcase (12)
- upcase! (12)
- upto (12)
- value (36)
-
values
_ at (12) -
with
_ object (24) - write (12)
-
yield
_ self (16)
検索結果
先頭5件
-
Module
# public _ class _ method(*name) -> self (137.0) -
name で指定したクラスメソッド (クラスの特異メソッド) の 可視性を public に変更します。
...メソッド) の
可視性を public に変更します。
@param name 0 個以上の String または Symbol を指定します。
@param names 0 個以上の String または Symbol を Array で指定します。
//emlist[例][ruby]{
class Foo
def self.foo
"foo"
end
private_class_m... -
Module
# public _ class _ method(names) -> self (137.0) -
name で指定したクラスメソッド (クラスの特異メソッド) の 可視性を public に変更します。
...メソッド) の
可視性を public に変更します。
@param name 0 個以上の String または Symbol を指定します。
@param names 0 個以上の String または Symbol を Array で指定します。
//emlist[例][ruby]{
class Foo
def self.foo
"foo"
end
private_class_m... -
Module
# public _ instance _ method(name) -> UnboundMethod (137.0) -
self の public インスタンスメソッド name をオブジェクト化した UnboundMethod を返します。
...返します。
@param name メソッド名を Symbol または String で指定します。
@raise NameError 定義されていないメソッド名や、
protected メソッド名、 private メソッド名を引数として与えると発生します。
//emlist[例][ruby]{
Kernel.publi......c_instance_method(:object_id) #=> #<UnboundMethod: Kernel#object_id>
Kernel.public_instance_method(:p) # method `p' for module `Kernel' is private (NameError)
//}
@see Module#instance_method,Object#public_method... -
Module
# public _ method _ defined?(name , inherit=true) -> bool (137.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が public であるときに true を返します。 そうでなければ false を返します。
...うでなければ false を返します。
@param name Symbol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジュールで
定義されたメソッドも対象になります。
@see Module#method_defined?, Module#private_me......thod_defined?, Module#protected_method_defined?
//emlist[例][ruby]{
module A
def method1() end
end
class B
protected
def method2() end
end
class C < B
include A
def method3() end
end
A.method_defined? :method1 #=> true
C.public_method_defined? "method1" #=> tr... -
Object
# class -> Class (137.0) -
レシーバのクラスを返します。
...レシーバのクラスを返します。
//emlist[][ruby]{
p "ruby".class #=> String
p 100.class #=> Integer
p ARGV.class #=> Array
p self.class #=> Object
p Class.class #=> Class
p Kernel.class #=> Module
//}
@see Class#superclass,Object#kind_of?,Object#instance_of?... -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (137.0) -
self に特異メソッド name を定義します。
...す。
@param symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class... -
Object
# define _ singleton _ method(symbol , method) -> Symbol (137.0) -
self に特異メソッド name を定義します。
...す。
@param symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class... -
Object
# public _ method(name) -> Method (137.0) -
オブジェクトの public メソッド name をオブジェクト化した Method オブジェクトを返します。
...返します。
@param name メソッド名を Symbol または String で指定します。
@raise NameError 定義されていないメソッド名や、
protected メソッド名、 private メソッド名を引数として与えると発生します。
//emlist[][ruby]{
1.public_method(......:to_int) #=> #<Method: Integer#to_int>
1.public_method(:p) # method `p' for class `Integer' is private (NameError)
//}
@see Object#method,Object#public_send,Module#public_instance_method... -
Object
# singleton _ class -> Class (137.0) -
レシーバの特異クラスを返します。 まだ特異クラスがなければ、新しく作成します。
...返します。
@raise TypeError レシーバが Integer、Float、Symbol の場合に発生します。
//emlist[][ruby]{
Object.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>>
String.singleton_class #=> #<Class:String>
nil.singleton_class #=> NilClass
//}
@see Object#class... -
Symbol
# end _ with?(*suffixes) -> bool (137.0) -
self の末尾が suffixes のいずれかであるとき true を返します。
...れかであるとき true を返します。
(self.to_s.end_with?と同じです。)
@param suffixes パターンを表す文字列 (のリスト)
@see Symbol#start_with?
@see String#end_with?
//emlist[][ruby]{
:hello.end_with?("ello") #=> true
# returns true if one of the +suff...