1900件ヒット
[1-100件を表示]
(0.081秒)
別のキーワード
ライブラリ
- ビルトイン (543)
- csv (22)
- erb (11)
- json (11)
-
minitest
/ mock (1) - openssl (11)
- optparse (132)
- ostruct (9)
- pathname (736)
- profiler (6)
- rake (11)
-
rdoc
/ code _ object (22) - resolv (11)
-
rexml
/ document (88) -
rubygems
/ dependency (11) -
rubygems
/ package / tar _ writer (55) - socket (11)
- time (22)
- win32ole (66)
クラス
- BasicObject (22)
- Binding (11)
-
CSV
:: Table (22) - Data (8)
-
Gem
:: Dependency (11) -
Gem
:: Package :: TarWriter (55) - MatchData (33)
-
MiniTest
:: Mock (1) - Module (144)
- NameError (18)
- Object (22)
-
OpenSSL
:: Config (11) - OpenStruct (9)
- OptionParser (132)
- Pathname (736)
-
RDoc
:: CodeObject (22) -
REXML
:: Attribute (11) -
REXML
:: Attributes (11) -
REXML
:: Element (55) -
Rake
:: FileList (11) -
Resolv
:: DNS :: Name (11) -
Socket
:: Ifaddr (11) - String (220)
- Struct (33)
- Thread (18)
- Time (22)
-
WIN32OLE
_ TYPE (66)
モジュール
-
ERB
:: DefMethod (11) - JSON (11)
-
REXML
:: Namespace (11)
オブジェクト
- main (14)
キーワード
- % (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - <=> (22)
- == (11)
-
NEWS for Ruby 2
. 7 . 0 (5) -
Profiler
_ _ (6) - Ruby用語集 (11)
- [] (66)
- []= (77)
-
add
_ file (22) -
add
_ file _ simple (22) -
add
_ namespace (22) - ascend (11)
- atime (11)
- autoload (11)
- basename (11)
- binread (11)
- binwrite (11)
- birthtime (10)
- children (11)
- chmod (11)
- chown (11)
-
class
_ eval (11) -
create
_ id (11) - ctime (11)
-
deconstruct
_ keys (2) -
def
_ erb _ method (11) -
default
_ event _ sources (11) -
default
_ ole _ types (11) -
define
_ singleton _ method (22) - delete (11)
-
delete
_ if (22) - descend (11)
- dig (9)
- directory? (11)
- dirname (11)
- each (11)
-
each
_ child (22) -
each
_ entry (11) -
each
_ filename (11) -
each
_ line (22) - entries (11)
- eval (11)
- exist? (11)
- expect (1)
- extname (11)
- file? (11)
- find (22)
- ftype (11)
-
has
_ name? (11) - hash (11)
-
implemented
_ ole _ types (11) - include (11)
- inspect (13)
-
instance
_ eval (11) -
instance
_ method (11) - irb (11)
- lchmod (11)
- lchown (11)
-
local
_ variables (9) - lstat (11)
-
make
_ link (11) -
make
_ symlink (11) - mkdir (22)
- mkpath (11)
-
module
_ eval (11) -
module
_ function (7) - mountpoint? (11)
- mtime (11)
- name= (9)
- names (11)
- namespace (11)
- namespaces (22)
- offset (22)
- on (132)
- open (22)
- opendir (22)
-
parent
_ file _ name (11) -
parent
_ name (11) - pipe? (11)
- private (14)
-
private
_ class _ method (15) -
private
_ constant (11) - profile (6)
- public (30)
-
public
_ class _ method (15) -
public
_ constant (11) -
public
_ instance _ method (11) -
rb
_ define _ method (11) -
rb
_ f _ require (11) - read (11)
- readlines (11)
- readlink (11)
- realpath (22)
- receiver (9)
- relative? (11)
-
relative
_ path _ from (11) - rfc2822 (11)
- rfc822 (11)
- rmdir (11)
- rmtree (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - setgid? (11)
- setuid? (11)
- size (11)
- size? (11)
- slice (66)
-
source
_ ole _ types (11) - split (11)
- stat (11)
- sticky? (11)
-
subdomain
_ of? (11) - symlink? (11)
- sysopen (11)
-
to
_ s (24) - unlink (11)
- utime (11)
- whitespace (11)
- with (2)
-
world
_ writable? (11) - writable? (11)
-
writable
_ real? (11) - write (22)
検索結果
先頭5件
-
WIN32OLE
_ TYPE # name -> String (21229.0) -
selfの型名を取得します。
...selfの型名を取得します。
@return selfの型名を文字列で返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Application')
p tobj.name # => "Application"... -
Socket
:: Ifaddr # name -> String (21217.0) -
self のインターフェイス名を返します。
...
self のインターフェイス名を返します。... -
Thread
# name -> String (18223.0) -
self の名前を返します。
...
self の名前を返します。
@see Thread#name=... -
Pathname
# dirname -> Pathname (15316.0) -
Pathname.new(File.dirname(self.to_s)) と同じです。
...Pathname.new(File.dirname(self.to_s)) と同じです。
//emlist[例][ruby]{
require "pathname"
Pathname('/usr/bin/shutdown').dirname # => #<Pathname:/usr/bin>
//}
@see File.dirname... -
Pathname
# each _ filename {|v| . . . } -> nil (15316.0) -
self のパス名要素毎にブロックを実行します。
...self のパス名要素毎にブロックを実行します。
//emlist[例][ruby]{
require 'pathname'
Pathname.new("/foo/../bar").each_filename {|v| p v}
# => "foo"
# ".."
# "bar"
//}... -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (12280.0) -
self に特異メソッド name を定義します。
...
self に特異メソッド name を定義します。
@param symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Sy......mbol を返します。
//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... -
Object
# define _ singleton _ method(symbol , method) -> Symbol (12280.0) -
self に特異メソッド name を定義します。
...
self に特異メソッド name を定義します。
@param symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Sy......mbol を返します。
//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... -
RDoc
:: CodeObject # parent _ file _ name -> String (12217.0) -
self.parent のファイル名を返します。
...
self.parent のファイル名を返します。
@see RDoc::CodeObject#parent... -
Pathname
# basename(suffix = "") -> Pathname (9316.0) -
Pathname.new(File.basename(self.to_s, suffix)) と同じです。
...thname.new(File.basename(self.to_s, suffix)) と同じです。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
//emlist......]{
require "pathname"
Pathname("ruby/ruby.c").basename #=> #<Pathname:"ruby.c">
Pathname("ruby/ruby.c").basename(".c") #=> #<Pathname:"ruby">
Pathname("ruby/ruby.c").basename(".*") #=> #<Pathname:"ruby">
Pathname("ruby/ruby.exe").basename(".*") #=> #<Pathname:"ruby">
Pathname("ruby/......y.tab.c").basename(".*") #=> #<Pathname:"y.tab">
//}
@see File.basename... -
Pathname
# binwrite(string , offset=nil) -> Integer (9316.0) -
IO.binwrite(self.to_s, *args)と同じです。
...
IO.binwrite(self.to_s, *args)と同じです。
@see IO.binwrite...