60件ヒット
[1-60件を表示]
(0.021秒)
キーワード
- cgi (12)
-
net
/ imap (12) -
rdoc
/ attr (12) -
rdoc
/ parser / ruby (12) -
rexml
/ parsers / streamparser (12)
検索結果
-
rdoc
/ attr (6017.0) -
RDoc::Attr を定義するサブライブラリです。
...RDoc::Attr を定義するサブライブラリです。... -
rdoc
/ parser / ruby (49.0) -
Ruby のソースコードを解析するためのサブライブラリです。
...についても同様に :attr:、 :attr_reader:、 :attr_writer:、
:attr_accessor: を指定する事ができます。属性の名前は省略できます。
##
# :attr_reader: my_attr_name
=== 隠しメソッド、属性
:method:、 :singleton-method: や :attr: 命令を使う事で実......際には定義され
ていないメソッドもドキュメントに含める事ができます。
##
# :attr_writer: ghost_writer
# There is an attribute here, but you can't see it!
##
# :method: ghost_method
# There is a method here, but you can't see it!
##
# this is a commen... -
cgi (13.0)
-
CGI プログラムの支援ライブラリです。
...HTML生成メソッドを追加
cgi.h1
# <H1></h1>
cgi.h1{ "content" }
# <H1>content</H1>
cgi.h1({ "class" => "foo", "attr" => "bar" }){ "content" }
# <H1 class="foo" attr="bar">content</H1>
# HTML生成メソッドを追加
CGI.new("html3") # html3.2
CGI.new("html4") # html4.0 (Strict)... -
net
/ imap (7.0) -
このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。
...user', 'joes_password')
imap.examine('INBOX')
imap.search(["RECENT"]).each do |message_id|
envelope = imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"]
puts "#{envelope.from[0].name}: \t#{envelope.subject}"
end
2003年4月のメールをすべて Mail/sent-mail から "Mail/sent-... -
rexml
/ parsers / streamparser (7.0) -
ストリーム式の XML パーサ。
...ener
def initialize
@events = []
end
def text(text)
@events << "text[#{text}]"
end
def tag_start(name, attrs)
@events << "tag_start[#{name}]"
end
attr_reader :events
end
xml = <<EOS
<members>
<member name="apple" color="red">
<comment>comment here</comment>
</me...