teepee 0.7.9 → 0.7.10
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.
- checksums.yaml +4 -4
- data/lib/teepee/string-token.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cf98585bae934da96fdcbbe02c42babc46d2ecf
|
|
4
|
+
data.tar.gz: 1fac5742c58574dd69965bba1bf47650fc01020d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13a2fae99ed12bb8b1e067f95ac7881f731f3d1566a72a5cc66d0544d10474f92d2f37a9abb14800d6a9848ea52e99cc581b5d8de45825030ce20b8ff620063a
|
|
7
|
+
data.tar.gz: 84b2ec56a015750f47549e34d721fe41df6d57d255987521c241927142123bc975afa7ab219f0d858db41740457ecac42763661ad0028bc1d25e7e2a1cc82fd5
|
data/lib/teepee/string-token.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# -*- mode: Ruby -*-
|
|
3
3
|
|
|
4
|
-
# Copyright © 2013-
|
|
4
|
+
# Copyright © 2013-2016, Christopher Mark Gore,
|
|
5
5
|
# Soli Deo Gloria,
|
|
6
6
|
# All rights reserved.
|
|
7
7
|
#
|
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
|
|
38
38
|
require 'teepee/token'
|
|
39
39
|
|
|
40
|
+
class String
|
|
41
|
+
def to_html
|
|
42
|
+
self
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
40
46
|
module Teepee
|
|
41
47
|
class StringToken < Token
|
|
42
48
|
attr_reader :text
|