hir 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hir.rb +7 -1
- metadata +1 -1
data/lib/hir.rb
CHANGED
@@ -5,7 +5,7 @@ class Hash
|
|
5
5
|
end
|
6
6
|
|
7
7
|
class HIR
|
8
|
-
VERSION = "1.1.
|
8
|
+
VERSION = "1.1.1"
|
9
9
|
|
10
10
|
module Tags
|
11
11
|
|
@@ -85,3 +85,9 @@ end
|
|
85
85
|
def hir(&content)
|
86
86
|
HIR.to_html(&content)
|
87
87
|
end
|
88
|
+
|
89
|
+
def sir(styles)
|
90
|
+
stylesheet = HIR.new
|
91
|
+
stylesheet.sir(styles)
|
92
|
+
stylesheet.to_s
|
93
|
+
end
|