ライブラリ
- ビルトイン (16)
- base64 (6)
-
cgi
/ html (1) - digest (12)
-
net
/ ftp (12) -
net
/ imap (2) - nkf (2)
- openssl (5)
- pathname (4)
- rss (105)
- securerandom (2)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) - tempfile (5)
-
win32
/ registry (16)
クラス
- Array (2)
-
Digest
:: Base (11) - File (3)
- Integer (4)
-
Net
:: FTP (12) -
Net
:: IMAP (2) -
OpenSSL
:: BN (4) -
OpenSSL
:: SSL :: SSLContext (1) - Pathname (4)
-
RSS
:: Maker :: ChannelBase (34) -
RSS
:: Maker :: ChannelBase :: CategoriesBase (1) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (4) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase (1) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (2) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase (1) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase (2) -
RSS
:: Maker :: ImageBase (10) -
RSS
:: Maker :: ItemsBase (5) -
RSS
:: Maker :: ItemsBase :: ItemBase (18) -
RSS
:: Maker :: RSSBase (12) -
RSS
:: Maker :: TextinputBase (8) -
RubyVM
:: InstructionSequence (2) - Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) - String (2)
- Tempfile (5)
-
Thread
:: Backtrace :: Location (2) -
Win32
:: Registry (16)
モジュール
- Base64 (6)
-
CGI
:: HtmlExtension (1) - Digest (1)
- Kernel (1)
- NKF (1)
-
RSS
:: BaseTrackBackModel (5) -
RSS
:: SyndicationModel (2) - SecureRandom (2)
キーワード
- << (1)
- == (2)
-
HKEY
_ CLASSES _ ROOT (1) -
HKEY
_ CURRENT _ CONFIG (1) -
HKEY
_ CURRENT _ USER (1) -
HKEY
_ DYN _ DATA (1) -
HKEY
_ LOCAL _ MACHINE (1) -
HKEY
_ PERFORMANCE _ DATA (1) -
HKEY
_ PERFORMANCE _ NLSTEXT (1) -
HKEY
_ PERFORMANCE _ TEXT (1) -
HKEY
_ USERS (1) - Integer (1)
- NKF (1)
- about (1)
- about= (1)
- base64 (1)
-
base
_ label (2) - basename (5)
-
ca
_ file= (1) - categories (2)
- channel (1)
- cloud (1)
- comments (1)
- comments= (1)
- content (3)
- content= (3)
- copyright (1)
- copyright= (1)
- create (2)
- date (2)
- date= (2)
- decode64 (1)
- description (4)
- description= (4)
- digest (1)
- digest! (1)
- digits (2)
-
do
_ sort (1) -
do
_ sort= (1) - docs (1)
- docs= (1)
- domain (1)
- domain= (1)
- enclosure (1)
- encode64 (1)
- encoding (1)
- encoding= (1)
- file (2)
- generator (1)
- generator= (1)
- get (2)
- getbinaryfile (2)
- gettextfile (2)
- guid (1)
- height (1)
- height= (1)
- hexdigest (1)
- hexdigest! (1)
- hexencode (1)
- image (1)
- info (1)
- inspect (1)
- items (1)
- label (2)
- language (1)
- language= (1)
- lastBuildDate (1)
- lastBuildDate= (1)
- link (3)
- link= (3)
- managingEditor (1)
- managingEditor= (1)
-
max
_ size (1) -
max
_ size= (1) - name (1)
- name= (1)
- new (6)
-
new
_ category (1) -
new
_ day (1) -
new
_ hour (1) -
new
_ item (1) - nkf (1)
- open (4)
- open-uri (1)
- pack (2)
- pack テンプレート文字列 (1)
- pubDate (2)
- pubDate= (2)
- put (2)
- putbinaryfile (2)
- puttextfile (2)
-
rdoc
/ generator / json _ index (1) - realdirpath (2)
- realpath (2)
-
relative
_ path _ from (1) -
rss
_ version (1) - skipDays (1)
- skipHours (1)
- sort (1)
- source (1)
- standalone (1)
- standalone= (1)
-
strict
_ decode64 (1) -
strict
_ encode64 (1) -
sy
_ updateBase (1) -
sy
_ updateBase= (1) - textinput (1)
- title (4)
- title= (4)
-
to
_ i (1) -
to
_ s (3) -
trackback
_ about (1) -
trackback
_ about= (1) -
trackback
_ abouts (1) -
trackback
_ ping (1) -
trackback
_ ping= (1) - ttl (1)
- ttl= (1)
-
uid
_ sort (1) - unpack (1)
- update (1)
- url (1)
- url= (1)
-
urlsafe
_ base64 (1) -
urlsafe
_ decode64 (1) -
urlsafe
_ encode64 (1) - version (1)
- version= (1)
- webMaster (1)
- webMaster= (1)
- width (1)
- width= (1)
- wtime2time (1)
-
xml
_ stylesheets (1)
検索結果
先頭5件
-
CGI
:: HtmlExtension # base(href = "") -> String (54406.0) -
base 要素を生成します。
base 要素を生成します。
@param href 文字列を指定します。属性をハッシュで指定することもできます。
例:
base("http://www.example.com/cgi")
# => "<BASE HREF=\"http://www.example.com/cgi\">" -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # content (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # content=() (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain=() (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase # content (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase # content=() (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase # content (27049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase # content=() (27049.0) -
@todo
@todo -
SecureRandom
. urlsafe _ base64(n = nil , padding = false) -> String (18514.0) -
ランダムで URL-safe な base64 文字列を生成して返します。
ランダムで URL-safe な base64 文字列を生成して返します。
@param n 文字列の生成に使われるランダムネスのサイズを整数で指定します。
生成される文字列のサイズはn の約 4/3 倍になります。
nil を指定した場合 n として 16 が使われます。
@param padding 真を指定すると '=' でパディングを行います。
偽を指定するとパディングを行いません。デフォルトは偽です。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
... -
SecureRandom
. base64(n = nil) -> String (18424.0) -
ランダムな base64 文字列を生成して返します。
ランダムな base64 文字列を生成して返します。
@param n 文字列の生成に使われるランダムネスのサイズを整数で指定します。
生成される文字列のサイズではないことに注意して下さい。生成される文字列のサイズは
n の約 4/3 倍になります。nil を指定した場合 n として 16 が使われます。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
require 'securerandom'
p SecureRandom.base64(3) #=> "4pYO" (文字列のサイ... -
RubyVM
:: InstructionSequence # base _ label -> String (18376.0) -
self が表す命令シーケンスの基本ラベルを返します。
self が表す命令シーケンスの基本ラベルを返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "h... -
Thread
:: Backtrace :: Location # base _ label -> String (18358.0) -
self が表すフレームの基本ラベルを返します。通常、 Thread::Backtrace::Location#label から修飾を取り除いたもので構成 されます。
self が表すフレームの基本ラベルを返します。通常、
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
# => init... -
File
. basename(filename , suffix = "") -> String (18355.0) -
filename の一番後ろのスラッシュに続く要素を返します。もし、 引数 suffix が与えられて、かつそれが filename の末尾に 一致するなら、それを取り除いたものを返します。
filename の一番後ろのスラッシュに続く要素を返します。もし、
引数 suffix が与えられて、かつそれが filename の末尾に
一致するなら、それを取り除いたものを返します。
//emlist[例][ruby]{
p File.basename("ruby/ruby.c") #=> "ruby.c"
p File.basename("ruby/ruby.c", ".c") #=> "ruby"
p File.basename("ruby/ruby.c", ".*") #=> "ruby"
p File.basename("ruby/ruby.e... -
Shell
# basename(filename , suffix = "") -> String (18355.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Shell
:: CommandProcessor # basename(filename , suffix = "") -> String (18355.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Shell
:: Filter # basename(filename , suffix = "") -> String (18355.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
RSS
:: SyndicationModel # sy _ updateBase (18349.0) -
@todo
@todo -
RSS
:: SyndicationModel # sy _ updateBase= (18349.0) -
@todo
@todo -
Pathname
# basename(suffix = "") -> Pathname (18337.0) -
Pathname.new(File.basename(self.to_s, suffix)) と同じです。
Pathname.new(File.basename(self.to_s, suffix)) と同じです。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
//emlist[例][ruby]{
require "pathname"
Pathname("ruby/ruby.c").basename #=> #<Pathname:"ruby.c">
Pathname("ruby/ruby.c").basename("... -
RSS
:: Maker :: ChannelBase :: CategoriesBase # new _ category (18049.0) -
@todo 新しくcategoryを作成し,返します.作成された categoryはcategoryリストの最後 に追加されています.
@todo
新しくcategoryを作成し,返します.作成された
categoryはcategoryリストの最後
に追加されています. -
RSS
:: Maker :: ChannelBase :: SkipDaysBase # new _ day (18049.0) -
@todo 新しくdayを作成し,返します.作成された dayはdayリストの最後 に追加されています.
@todo
新しくdayを作成し,返します.作成された
dayはdayリストの最後
に追加されています. -
RSS
:: Maker :: ChannelBase :: SkipHoursBase # new _ hour (18049.0) -
@todo
@todo
新しくhourを作成し,返します.作成された
hourはhourリストの最後
に追加されています. -
RSS
:: Maker :: ItemsBase :: ItemBase # author (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # author=() (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # categories (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # comments (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # comments=() (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # date (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # date=() (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # description (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # description=() (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # enclosure (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # guid (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # link (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # link=() (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # pubDate (18049.0) -
@todo item.dateの別名です.
@todo
item.dateの別名です. -
RSS
:: Maker :: ItemsBase :: ItemBase # pubDate=() (18049.0) -
@todo item.date=の別名です.
@todo
item.date=の別名です. -
RSS
:: Maker :: ItemsBase :: ItemBase # source (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # title (18049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # title=() (18049.0) -
@todo
@todo -
Base64
. # urlsafe _ encode64(bin , padding: true) -> String (9175.0) -
与えられたデータを Base64 エンコードした文字列を返します。
与えられたデータを Base64 エンコードした文字列を返します。
このメソッドは 4648 の "Base 64 Encoding with URL and Filename Safe Alphabet" に対応しています。
"+" を "-" に "/" を "_" に置き換えます。
デフォルトでは戻り値は = によるパディングを含むことがあります。
パディングを含めたくない場合は、padding オプションに false を指定してください。
@param bin Base64 エンコードするデータを指定します。
@param padding false を指定した場合、 = によ... -
Base64
. # urlsafe _ decode64(str) -> String (9139.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 4648 の "Base 64 Encoding with URL and Filename Safe Alphabet" に対応しています。
"+" を "-" に "/" を "_" に置き換えます。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エンコードされたデータとして正しい形式ではない場合に発生します。
例えば、アルファベットでない文字列や CR, LF などが含まれている場合にこの例... -
Base64
. # decode64(str) -> String (9121.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 2045 に対応しています。
@param str Base64 デコードする文字列を指定します。
require 'base64'
str = 'VGhpcyBpcyBsaW5lIG9uZQpUaGlzIG' +
'lzIGxpbmUgdHdvClRoaXMgaXMgbGlu' +
'ZSB0aHJlZQpBbmQgc28gb24uLi4K'
puts Base64.decode64(str)
# This is line one
# T... -
Base64
. # encode64(bin) -> String (9121.0) -
与えられたデータを Base64 エンコードした文字列を返します。
与えられたデータを Base64 エンコードした文字列を返します。
このメソッドは 2045 に対応しています。
エンコード後の文字で 60 文字ごとに改行を追加します。
@param bin Base64 エンコードするデータを指定します。
require 'base64'
Base64.encode64("Now is the time for all good coders\nto learn Ruby")
# => Tm93IGlzIHRoZSB0aW1lIGZvciBhbGwgZ29vZCBjb2RlcnMKdG8gbGVhcm4g
# ... -
Base64
. # strict _ decode64(str) -> String (9121.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 4648 に対応しています。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エンコードされたデータとして正しい形式ではない場合に発生します。
例えば、アルファベットでない文字列や CR, LF などが含まれている場合にこの例外は発生します。 -
Digest
:: Base # digest! -> String (9103.0) -
updateや<<によって追加した文字列に対するハッシュ値を文字列で返します。 Digest::Base#digestと違い、 メソッドの処理後、 オブジェクトの状態を初期状態(newした直後と同様の状態)に戻します。
updateや<<によって追加した文字列に対するハッシュ値を文字列で返します。
Digest::Base#digestと違い、
メソッドの処理後、
オブジェクトの状態を初期状態(newした直後と同様の状態)に戻します。
返す文字列は、MD5では16バイト長、SHA1およびRMD160では20バイト長、
SHA256では32バイト長、SHA384では48バイト長、SHA512では64バイト長です。
例:
# MD5の場合
require 'digest/md5'
digest = Digest::MD5.new
digest.update("ruby")
p dige... -
Digest
:: Base # hexdigest! -> String (9103.0) -
updateや<<によって追加した文字列に対するハッシュ値を、 ASCIIコードを使って16進数の列を示す文字列にエンコードして返します。 Digest::Base#hexdigestと違い、 メソッドの処理後、 オブジェクトの状態を初期状態(newした直後と同様の状態)に戻します。
updateや<<によって追加した文字列に対するハッシュ値を、
ASCIIコードを使って16進数の列を示す文字列にエンコードして返します。
Digest::Base#hexdigestと違い、
メソッドの処理後、
オブジェクトの状態を初期状態(newした直後と同様の状態)に戻します。
例:
# MD5の場合
require 'digest/md5'
digest = Digest::MD5.new
digest.update("ruby")
p digest.hexdigest! # => "58e53d1324eef6265fdb97b08ed9aadf"
p ... -
Base64
. # strict _ encode64(bin) -> String (9085.0) -
与えられたデータを Base64 エンコードした文字列を返します。
与えられたデータを Base64 エンコードした文字列を返します。
このメソッドは 4648 に対応しています。
改行コードを追加することはありません。
@param bin Base64 エンコードするデータを指定します。 -
RSS
:: BaseTrackBackModel # trackback _ about (9049.0) -
@todo
@todo -
RSS
:: BaseTrackBackModel # trackback _ about= (9049.0) -
@todo
@todo -
RSS
:: BaseTrackBackModel # trackback _ abouts (9049.0) -
@todo
@todo -
RSS
:: BaseTrackBackModel # trackback _ ping (9049.0) -
@todo
@todo -
RSS
:: BaseTrackBackModel # trackback _ ping= (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # about (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # about=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # categories (9049.0) -
@todo categoriesを返します.
@todo
categoriesを返します. -
RSS
:: Maker :: ChannelBase # cloud (9049.0) -
@todo cloudを返します.
@todo
cloudを返します. -
RSS
:: Maker :: ChannelBase # copyright (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # copyright=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # date (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # date=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # description (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # description=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # docs (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # docs=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # generator (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # generator=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # language (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # language=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # lastBuildDate (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # lastBuildDate=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # link (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # link=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # managingEditor (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # managingEditor=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # pubDate (9049.0) -
@todo maker.channel.dateの別名です.
@todo
maker.channel.dateの別名です. -
RSS
:: Maker :: ChannelBase # pubDate=() (9049.0) -
@todo maker.channel.date=の別名です.
@todo
maker.channel.date=の別名です. -
RSS
:: Maker :: ChannelBase # rating (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # rating=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # skipDays (9049.0) -
@todo skipDaysを返します.
@todo
skipDaysを返します. -
RSS
:: Maker :: ChannelBase # skipHours (9049.0) -
@todo skipHoursを返します.
@todo
skipHoursを返します. -
RSS
:: Maker :: ChannelBase # title (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # title=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # ttl (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # ttl=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # webMaster (9049.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # webMaster=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # description (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # description=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # height (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # height=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # title (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # title=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # url (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # url=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # width (9049.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # width=() (9049.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase # do _ sort (9049.0) -
@todo 現在のdo_sortの値を取得します.デフォルトでは falseになっています.
@todo
現在のdo_sortの値を取得します.デフォルトでは
falseになっています. -
RSS
:: Maker :: ItemsBase # do _ sort=() (9049.0) -
@todo trueに設定するとitem.dateが新しい順に並び替 えます.Procオブジェクトを指定することにより並び 替え方法をカスタマイズすることができます.
@todo
trueに設定するとitem.dateが新しい順に並び替
えます.Procオブジェクトを指定することにより並び
替え方法をカスタマイズすることができます.