ライブラリ
-
cgi
/ core (36) -
net
/ imap (48) - rss (96)
-
webrick
/ config (12) -
webrick
/ httprequest (12) - yaml (12)
クラス
- CGI (24)
-
Net
:: IMAP :: BodyTypeBasic (12) -
Net
:: IMAP :: BodyTypeMessage (12) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: BodyTypeText (12) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: Rss :: Channel (24) -
WEBrick
:: HTTPRequest (12)
モジュール
-
CGI
:: QueryExtension (12) - DublinCoreModel (36)
-
WEBrick
:: Config (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - ChannelBase (12)
- FileHandler (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - Ruby用語集 (12)
- YAML (12)
-
accept
_ language (24) - cgi (12)
-
dc
_ language (12) -
dc
_ language= (12) -
dc
_ languages (12) - header (12)
- language= (24)
-
net
/ http (12) -
net
/ imap (12) - out (12)
- prettyprint (12)
- rss (12)
-
ruby 1
. 8 . 2 feature (12) - yaml (12)
検索結果
先頭5件
-
DublinCoreModel
# dc _ language (6102.0) -
@todo
@todo -
DublinCoreModel
# dc _ language= (6102.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # language=() (6102.0) -
@todo
@todo -
RSS
:: Rss :: Channel # language= (6102.0) -
@todo
@todo -
DublinCoreModel
# dc _ languages (6100.0) -
@todo
@todo -
NEWS for Ruby 3
. 0 . 0 (24.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...is}[rdoc-label:label-Static+analysis] foundation is
introduced.
* {RBS}[rdoc-label:label-RBS] is introduced. It is a type definition
language for Ruby programs.
* {TypeProf}[rdoc-label:label-TypeProf] is experimentally bundled. It is a
type analysis tool for Ruby prog......is executed in a background thread.
* Reduce the number of locks between Ruby and JIT threads.
== Static analysis
=== RBS
* RBS is a new language for type definition of Ruby programs. It allows writing types of classes and modules with advanced types including union types, overloading, gen......its type signature, and prints the analysis result in RBS format.
* Though it supports only a subset of the Ruby language yet, we will continuously improve the coverage of language features, analysis performance, and usability.
//emlist[][ruby]{
# test.rb
def foo(x)
if x > 10
x.to_s
els... -
rss (24.0)
-
RSS を扱うためのライブラリです。
...します。
rss = RSS::Maker.make("0.91") do |maker|
maker.channel.language = "ja"
...
end
RSS 1.0など、/rdf:RDF/channel/language要素がないフィードの場
合でも、単に無視したりdc:languageとして扱ったりと適切に処理し
ます。そのため、以下......フィードのバージョンに関わらず言語を指定してください。
rss = RSS::Maker.make("0.91") do |maker|
maker.channel.language = "ja" if maker.feed_version == "0.91"
...
end
===== Atom 1.0の生成
もし,Atom 1.0を生成したい場合は,RSS 0.91や2.0の場... -
CGI
# header(options = "text / html") -> String (18.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
...h
送信するコンテンツの長さを指定します。Content-Length ヘッダに対応します。
: language
送信するコンテンツの言語を指定します。Content-Language ヘッダに対応します。
: expires
送信するコンテンツの有効期限を Time のインス......=> "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/html; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + 30,
"cookie" => [cookie1, cookie2],
"my_header1" => "m... -
YAML (16.0)
-
YAML (YAML Ain't Markup Language) を扱うモジュールです。
...YAML (YAML Ain't Markup Language) を扱うモジュールです。
YAML オブジェクトは実際は Psych オブジェクトです。その他のオブジェ
クトも同様に実体は別のオブジェクトです。もし確認したいメソッドの記述が
見つからない場合は、p... -
yaml (16.0)
-
構造化されたデータを表現するフォーマットであるYAML (YAML Ain't Markup Language) を扱うためのライブラリです。
...構造化されたデータを表現するフォーマットであるYAML (YAML Ain't Markup Language) を扱うためのライブラリです。
//emlist[例1: 構造化された配列][ruby]{
require 'yaml'
data = ["Taro san", "Jiro san", "Saburo san"]
str_r = YAML.dump(data)
str_l = <<~YAML_EO...