⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 haml

📁 用ruby on rails写的一个博客程序,还不错..ruby on rails的确是个好框架
💻
字号:
#!/usr/bin/env ruby# The command line Haml parser.if ARGV[0] == "--help" or ARGV[0] == "-h" or ARGV[0] == "-?"  puts <<ENDUsage: haml (template file) (output file)Description:  Uses the Haml engine to parse the specified template  and outputs the result to the specified file.ENDelse  require File.join(File.dirname(__FILE__), '..', 'lib', 'haml', 'engine')  template = File.read(ARGV[0])  result = Haml::Engine.new(template).to_html  File.open(ARGV[1], "w") { |f| f.write(result) }end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -