1903件ヒット
[1-100件を表示]
(0.097秒)
ライブラリ
クラス
- Array (21)
- Bignum (6)
-
Digest
:: Base (204) - Fixnum (6)
- Integer (36)
-
Net
:: FTP (144) -
Net
:: IMAP (24) -
OpenSSL
:: BN (12) -
OpenSSL
:: SSL :: SSLContext (12) - Pathname (64)
-
RSS
:: Maker :: ChannelBase (408) -
RSS
:: Maker :: ChannelBase :: CategoriesBase (12) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (48) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase (12) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (24) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase (12) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase (24) -
RSS
:: Maker :: ImageBase (120) -
RSS
:: Maker :: ItemsBase (60) -
RSS
:: Maker :: ItemsBase :: ItemBase (216) -
RSS
:: Maker :: RSSBase (144) -
RSS
:: Maker :: TextinputBase (96) -
RubyVM
:: InstructionSequence (24) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (24)
-
Thread
:: Backtrace :: Location (24)
モジュール
-
CGI
:: HtmlExtension (12) -
OpenURI
:: Meta (12) -
RSS
:: BaseTrackBackModel (60) -
RSS
:: SyndicationModel (24)
キーワード
- << (12)
- == (24)
- about (12)
- about= (12)
-
base
_ label (24) -
base
_ uri (12) - basename (30)
-
block
_ length (12) -
ca
_ file= (12) - categories (24)
- channel (12)
- clone (12)
- cloud (12)
- comments (12)
- comments= (12)
- content (36)
- content= (36)
- copyright (12)
- copyright= (12)
- date (24)
- date= (24)
- description (48)
- description= (48)
- digest (12)
- digest! (12)
-
digest
_ length (12) - digits (12)
-
do
_ sort (12) -
do
_ sort= (12) - docs (12)
- docs= (12)
- domain (12)
- domain= (12)
- dup (12)
- enclosure (12)
- encoding (12)
- encoding= (12)
- file (12)
- generator (12)
- generator= (12)
- get (24)
- getbinaryfile (24)
- gettextfile (24)
- glob (16)
- guid (12)
- height (12)
- height= (12)
- hexdigest (12)
- hexdigest! (12)
- image (12)
- inspect (18)
- items (12)
- label (24)
- language (12)
- language= (12)
- lastBuildDate (12)
- lastBuildDate= (12)
- length (12)
- link (36)
- link= (36)
- managingEditor (12)
- managingEditor= (12)
-
max
_ size (12) -
max
_ size= (12) - name (12)
- name= (12)
-
new
_ category (12) -
new
_ day (12) -
new
_ hour (12) -
new
_ item (12) - pack (21)
- pubDate (24)
- pubDate= (24)
- put (24)
- putbinaryfile (24)
- puttextfile (24)
- realdirpath (12)
- realpath (12)
-
relative
_ path _ from (12) - reset (12)
-
rss
_ version (12) - size (12)
- skipDays (12)
- skipHours (12)
- sort (12)
- source (12)
- standalone (12)
- standalone= (12)
-
sy
_ updateBase (12) -
sy
_ updateBase= (12) - textinput (12)
- title (48)
- title= (48)
-
to
_ i (12) -
to
_ s (42) -
trackback
_ about (12) -
trackback
_ about= (12) -
trackback
_ abouts (12) -
trackback
_ ping (12) -
trackback
_ ping= (12) - ttl (12)
- ttl= (12)
-
uid
_ sort (12) - unpack (12)
- update (12)
- url (12)
- url= (12)
- version (12)
- version= (12)
- webMaster (12)
- webMaster= (12)
- width (12)
- width= (12)
-
xml
_ stylesheets (12)
検索結果
先頭5件
-
CGI
:: HtmlExtension # base(href = "") -> String (24230.0) -
base 要素を生成します。
...
base 要素を生成します。
@param href 文字列を指定します。属性をハッシュで指定することもできます。
例:
base("http://www.example.com/cgi")
# => "<BASE HREF=\"http://www.example.com/cgi\">"... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (15454.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...base_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......、self が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory から self へ......の相対パスが求められないときに例外が発生します。
//emlist[例][ruby]{
require 'pathname'
path = Pathname.new("/tmp/foo")
base = Pathname.new("/tmp")
path.relative_path_from(base) # => #<Pathname:foo>
//}... -
RSS
:: SyndicationModel # sy _ updateBase (15201.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateBase= (15201.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain (15101.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain=() (15101.0) -
@todo
@todo -
RubyVM
:: InstructionSequence # base _ label -> String (12220.0) -
self が表す命令シーケンスの基本ラベルを返します。
...piled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.base_label # => "<main>"
例3:......# /tmp/method2.rb
def hello
puts "hello, world"
end
RubyVM::InstructionSequence.of(method(:hello)).base_label
# => "hello"
@see RubyVM::InstructionSequence#label... -
OpenURI
:: Meta # base _ uri -> URI (12208.0) -
リソースの実際の URI を URI オブジェクトとして返します。 リダイレクトされた場合は、リダイレクトされた後のデータが存在する URI を返します。
...します。
リダイレクトされた場合は、リダイレクトされた後のデータが存在する URI を返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.base_uri
#=> #<URI::HTTP:0xb7043aa0 URL:http://www.ruby-lang.org/en/>
}
//}......ます。
リダイレクトされた場合は、リダイレクトされた後のデータが存在する URI を返します。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://www.ruby-lang.org/') {|f|
p f.base_uri
#=> #<URI::HTTP:0xb7043aa0 URL:http://www.ruby-lang.org/en/>
}
//}... -
Thread
:: Backtrace :: Location # base _ label -> String (12208.0) -
self が表すフレームの基本ラベルを返します。通常、 Thread::Backtrace::Location#label から修飾を取り除いたもので構成 されます。
...Thread::Backtrace::Location#label から修飾を取り除いたもので構成
されます。
//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.base_label......end
# => initialize
# new
# <main>
//}
@see Thread::Backtrace::Location#label...