Sha256: 83d7f44f447c26261abefa9f50565a81be365c0b211829bd6e76c9dde6c82dbb
Contents?: true
Size: 643 Bytes
Versions: 14
Compression:
Stored size: 643 Bytes
Contents
$:.unshift File.expand_path('../../lib', __FILE__) require 'slight/dsl' module Slight class DSL def run doctype :html html do head do title "Example" use "/css/bootstrap.css" use "/script/jquery.js" use "/script/angular.js" end body do div "panel" do nav "nav nav-pill", id:"NavMenu", css:"color: red" do img! src:"/images/icon1.png" end end br hr end end end end end Slight::DSL.new(STDOUT).run
Version data entries
14 entries across 14 versions & 1 rubygems