myoutline 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/myoutline.rb +6 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90f597b4aa3692f9be8c6ddc0b7bedb34de51b66
|
4
|
+
data.tar.gz: b70bec17e1364b873bac2cd3bf44ede0c8c676ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7183ec997a00fbb122f4103dd9d87b724b58373de635356a7301eccc35bdf2a5286af52cfab6acdf079b7a0ba3297a3987c063ccfbe9bed2c301c46e0fbb0eb1
|
7
|
+
data.tar.gz: 669ede0d2938f1f132c481b55c7cf62858cfad77e93203d1bc8e148d02724bde210ae17a2b050b17fbac64f48c3a7d21ede4449240d83e7037f9e093793e541f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/myoutline.rb
CHANGED
@@ -42,11 +42,15 @@ class MyOutline
|
|
42
42
|
filename = RXFHelper.writeable?(@source) ? @source : 'myoutline.txt'
|
43
43
|
end
|
44
44
|
|
45
|
-
RXFHelper.write filename, self.to_s
|
45
|
+
RXFHelper.write filename, self.to_s(declaration: true)
|
46
46
|
|
47
47
|
end
|
48
48
|
|
49
|
-
def
|
49
|
+
def to_px()
|
50
|
+
@pxi.to_px
|
51
|
+
end
|
52
|
+
|
53
|
+
def to_s(declaration: false)
|
50
54
|
|
51
55
|
if declaration == true then
|
52
56
|
@pxi.to_s.sub(/(?<=^\<\?)([^\?]+)/,'myoutline')
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|