3202件ヒット
[1-100件を表示]
(0.095秒)
ライブラリ
- ビルトイン (431)
-
cgi
/ html (168) - date (4)
- e2mmap (6)
- etc (12)
- json (120)
- logger (61)
-
net
/ ftp (88) -
net
/ http (12) - openssl (60)
- optparse (36)
- pathname (1250)
- rake (96)
-
rdoc
/ context (12) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (12) -
rdoc
/ top _ level (36) -
rexml
/ document (264) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (24) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / update _ command (12) -
rubygems
/ commands / which _ command (12) -
rubygems
/ dependency _ list (24) -
rubygems
/ installer (48) -
rubygems
/ source _ index (60) -
rubygems
/ specification (84) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (30) -
syslog
/ logger (24) - time (12)
-
webrick
/ httputils (48) -
win32
/ registry (12)
クラス
-
ARGF
. class (12) - Data (27)
- Date (2)
- DateTime (2)
- Encoding (12)
-
Encoding
:: InvalidByteSequenceError (12) -
Encoding
:: UndefinedConversionError (12) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: Commands :: WhichCommand (12) -
Gem
:: DependencyList (24) -
Gem
:: Installer (48) -
Gem
:: SourceIndex (60) -
Gem
:: Specification (84) - IO (12)
-
JSON
:: State (96) - Logger (48)
-
Logger
:: Application (1) -
Logger
:: Formatter (12) - MatchData (104)
- Module (228)
-
Net
:: FTP (78) -
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTP (12) - Object (12)
-
OpenSSL
:: X509 :: Certificate (48) -
OpenSSL
:: X509 :: ExtensionFactory (12) - OptionParser (36)
- Pathname (1238)
-
RDoc
:: Context (12) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (12) -
RDoc
:: Options (24) -
RDoc
:: TopLevel (36) -
REXML
:: AttlistDecl (24) -
REXML
:: Attribute (36) -
REXML
:: Attributes (120) -
REXML
:: DocType (24) -
REXML
:: Element (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (12) -
Rake
:: Application (24) -
Rake
:: FileList (12) -
Rake
:: InvocationChain (24) -
Rake
:: InvocationChain :: EmptyInvocationChain (24) - Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (30) - Struct (12)
-
Syslog
:: Logger (12) -
Syslog
:: Logger :: Formatter (12) - Time (12)
-
WEBrick
:: HTTPUtils :: FormData (48) -
Win32
:: Registry (12)
モジュール
-
CGI
:: HtmlExtension (168) - Exception2MessageMapper (6)
-
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) - Kernel (12)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (24) -
Rake
:: TaskManager (12)
キーワード
- + (12)
-
/ (11) - << (12)
- <=> (12)
- == (15)
- === (12)
- Pathname (12)
- [] (72)
- []= (24)
- absolute? (12)
- add (12)
-
add
_ attributes (12) -
add
_ special (12) -
add
_ tag (12) - append (24)
- appname (1)
- ascend (24)
- atime (30)
- attlistdecl (12)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - attribute (12)
-
attributes
_ of (12) - autoload (12)
- basename (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
- byteoffset (6)
- call (24)
- chardev? (12)
- checkbox (12)
-
checkbox
_ group (12) - children (12)
- chmod (12)
- chown (12)
- cleanpath (12)
-
const
_ source _ location (12) - ctime (12)
-
deconstruct
_ keys (9) -
def
_ exception (6) - delete (12)
-
delete
_ all (12) -
deprecate
_ constant (12) - descend (24)
-
destination
_ encoding _ name (24) - directory? (12)
- dirname (12)
- each (48)
-
each
_ attribute (12) -
each
_ child (24) -
each
_ element _ with _ attribute (12) -
each
_ entry (15) -
each
_ filename (12) -
each
_ line (24) - egrep (12)
-
element
_ name (12) - empty? (9)
-
enhance
_ with _ matching _ rule (12) - entries (12)
- eql? (15)
- executable? (12)
-
executable
_ real? (12) - exist? (12)
- extname (12)
- fatal (24)
- file? (12)
-
file
_ field (12) -
file
_ name (12) -
file
_ relative _ name (12) -
file
_ relative _ name= (12) - filename (12)
- filename= (12)
- find (24)
-
find
_ enclosing _ module _ named (12) -
find
_ local _ symbol (12) -
find
_ name (24) -
find
_ paths (12) - fnmatch (12)
- fnmatch? (12)
-
formatted
_ program _ filename (12) - formatter (12)
- formatter= (24)
- ftype (12)
-
full
_ name (12) -
gem
_ signature (12) -
generate
_ bin _ script (12) -
generate
_ bin _ symlink (12) -
generate
_ windows _ script (12) - get (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ path (12) - getbinaryfile (12)
- glob (16)
- grpowned? (12)
- hash (15)
- hidden (12)
- httpdate (12)
- init (12)
- inspect (3)
- issuer (12)
- issuer= (12)
- join (12)
- lchmod (12)
- lchown (12)
- lstat (30)
-
make
_ link (12) -
make
_ symlink (12) - member? (24)
- mkdir (12)
- mkpath (12)
- mlsd (20)
- mlst (10)
- mountpoint? (12)
- mtime (12)
- name= (24)
-
named
_ captures (12) - names (12)
- namespace (12)
- namespaces (12)
- ndata (12)
- notation (12)
- notationdecl (12)
-
object
_ nl (12) -
object
_ nl= (12) - offset (24)
- on (36)
- open (24)
- opendir (24)
-
original
_ name (12) - owned? (12)
-
page
_ dir (12) - parent (12)
-
password
_ field (12) - path (12)
- pathconf (12)
- pathname (10)
- pipe? (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ method _ defined? (12) - put (12)
- putbinaryfile (12)
-
radio
_ group (12) - read (12)
- readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (12)
- realdirpath (12)
- realpath (24)
- relative? (12)
-
relative
_ path _ from (12) -
remove
_ by _ name (12) -
remove
_ const (12) -
remove
_ spec (12) - rename (12)
- replicate (12)
- reset (12)
-
respond
_ to _ missing? (12) - rmdir (12)
- rmtree (12)
- root (12)
- root? (12)
-
ruby2
_ keywords (12) -
scrolling
_ list (12) -
send
_ request (12) - setgid? (12)
- setuid? (12)
- size (12)
- size? (12)
- socket? (12)
- space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) -
spec
_ path (12) - specification (12)
- split (30)
-
start
_ element (12) - stat (30)
- sticky? (12)
- sub (24)
-
sub
_ ext (12) - subject (12)
- subject= (12)
-
subject
_ certificate= (12) - submit (12)
- symlink? (12)
- sysopen (12)
-
tag
_ start (12) -
text
_ field (12) - textarea (12)
-
to
_ h (6) -
to
_ json (24) -
to
_ path (12) -
to
_ s (15) -
to
_ string (12) - truncate (12)
- unlink (12)
- utime (30)
-
which
_ to _ update (12) - with (3)
-
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (36)
- zero? (12)
検索結果
先頭5件
-
WEBrick
:: HTTPUtils :: FormData # name -> String | nil (21131.0) -
フォームデータの name 属性を文字列で表すアクセサです。
...フォームデータの name 属性を文字列で表すアクセサです。
@param value フォームデータの name 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].name #=> "q"
end
end
MyCG... -
Rake
:: Application # name -> String (21108.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Gem
:: Specification # name -> String (21102.0) -
この Gem パッケージの名前を返します。
この Gem パッケージの名前を返します。 -
REXML
:: NotationDecl # name -> String (21102.0) -
記法宣言の名前を返します。
記法宣言の名前を返します。 -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (18401.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...base_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......athname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory から self への相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pat......hname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}... -
Kernel
# Pathname(path) -> Pathname (12501.0) -
文字列 path を元に Pathname オブジェクトを生成します。
...文字列 path を元に Pathname オブジェクトを生成します。
Pathname.new(path) と同じです。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。... -
Gem
:: Installer # formatted _ program _ filename(filename) -> String (12301.0) -
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
...Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
@param filename 実行ファイルのファイル名を指定します。... -
Pathname
# basename(suffix = "") -> Pathname (12301.0) -
Pathname.new(File.basename(self.to_s, suffix)) と同じです。
...Pathname.new(File.basename(self.to_s, suffix)) と同じです。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
//emli......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.t......ab.c").basename(".*") #=> #<Pathname:"y.tab">
//}
@see File.basename... -
Pathname
# cleanpath(consider _ symlink = false) -> Pathname (12301.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
...余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
cleanpath は、実際にファイルシステムを参照することなく、文字列操作
だけで処理を行います。
@param consider_symlink 真ならパス要素にシンボリック......題ないように .. を残します。
//emlist[例][ruby]{
require "pathname"
path = Pathname.new("//.././../")
path # => #<Pathname://.././../>
path.cleanpath # => #<Pathname:/>
require 'pathname'
Dir.rmdir("/tmp/foo") rescue nil
File.unlink("/tmp/bar/foo") rescue......nil
Dir.rmdir("/tmp/bar") rescue nil
Dir.mkdir("/tmp/foo")
Dir.mkdir("/tmp/bar")
File.symlink("../foo", "/tmp/bar/foo")
path = Pathname.new("bar/././//foo/../bar")
Dir.chdir("/tmp")
path.cleanpath # => #<Pathname:bar/bar>
path.cleanpath(true) # => #<Pathname:bar/foo/../bar>
//}...