htmlcom 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 051a8d3c8105db43624946aec56f5f2de83a6e438871d0e385de622d89e3a36d
4
- data.tar.gz: d3004c795f704b7098433b515eb0b62bd3f235c1fc5e142773da8c5569789d97
3
+ metadata.gz: 9a2fd06c95ce60e65e0f1d4082f5cbc2f0d93effcaff34d15e77c06427970b1d
4
+ data.tar.gz: 7671c93c7c1dfdd81dc3d9f5ffb18fb025515795c7cb16d2a6a56d3f9d010365
5
5
  SHA512:
6
- metadata.gz: c4fbbdecb3b4352ee3c9bd7de0d5ef438532df04a1d15056de6e025ed4e2de6e2809814bb529235bae4ccf8de112443ad2f08aadcb6ac6649138a2fcb0201df2
7
- data.tar.gz: 76ffa8e53e4ea333c64fbf32213c77cd1dc4638c6efb75f5301d7455ae23dfe6e26492c38092adda6cb29dc5656dea0ed0e1878c3143f8ae38500292faddcb83
6
+ metadata.gz: b311a20a90ad93122484bd820f333b16a0a24a7acfdbe3ae50eb91e0b092ad68b185edc720cdf8d5408d14f01a232a538f3ed7c4db824acac417e37d1a685f47
7
+ data.tar.gz: 5e97a64b67e032f7ef585724d9065c8817b57e58f2176c0722f1a3a261374cf17117e813bf0a60301d773d5fc8320169689c0f504c1b993a8d8a3f76b95cab7e
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/htmlcom.rb CHANGED
@@ -219,5 +219,17 @@ xsl= %q(
219
219
 
220
220
  end
221
221
 
222
+ class Tree
223
+
224
+ def initialize(s, debug: false, hn: 2)
225
+ jtb = JsTreeBuilder.new(:sidebar, {src: s, hn: hn, debug: debug})
226
+ @html = jtb.to_webpage
227
+ end
228
+
229
+ def to_webpage()
230
+ @html
231
+ end
232
+
233
+ end
222
234
 
223
235
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmlcom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  WiRgzz3/21eCm7N/8s5UGa7uDJXDDxf/i/QsEUJn1VcorDbODN3DbcPYph26bgQm
36
36
  vY6P53Z8DPcEft++oI9aZl1n
37
37
  -----END CERTIFICATE-----
38
- date: 2020-02-24 00:00:00.000000000 Z
38
+ date: 2020-02-29 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: jsmenubuilder
metadata.gz.sig CHANGED
Binary file