共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > ruby-css-parser |
ruby-css-parser
|
0 | 0 | 14 |
贡献者 | 讨论 | 代码提交 |
Load, parse and cascade CSS rule sets in Ruby.
SetupInstall the gem from Ruby Forge.
gem install css_parserDone.
An example require 'css_parser'
include CssParser
parser = CssParser::Parser.new
parser.load_file!('http://example.com/styles/style.css')
The download/import tests require that WEBrick is installed. The tests set up a temporary server on port 12000 and pull down files from the test/fixtures/ directory.
Credits and codeBy Alex Dunae (dunae.ca, e-mail code at dunae dot ca), 2007-08.
Made on Vancouver Island.