文件名称:debian-control-parser-gem:解析 Debian 控制文件
文件大小:23KB
文件格式:ZIP
更新时间:2024-06-20 01:36:27
Ruby
debian-control-parser-gem 解析 Debian 控制文件 安装 gem install debian-control-parser 用于解析具有多个段落的控制文件的示例应用程序 require 'debian_control_parser' data = <<EOF Foo: bar Answer-to-Everything: 42 Ding: dong Zingo: zongo Multi: several lines in a paragraph are of course allowd Final: field EOF parser = DebianControlParser . new ( data ) parser . paragraphs do | paragraph | paragraph . fields do | name , va
【文件预览】:
debian-control-parser-gem-master
----lib()
--------debian_control_parser.rb(2KB)
--------foo.rb(352B)
--------foo2.rb(552B)
----debian_control_parser.gemspec(701B)
----spec()
--------fixtures()
--------main_spec.rb(2KB)
----Rakefile(117B)
----LICENSE(1KB)
----COPYRIGHT(1KB)
----README.md(3KB)
----.gitignore(573B)