hir 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/hir.rb +7 -1
  2. 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.0"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hir
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: