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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bba6a21b45a42f6e257c31fef82d4ab2a20803fb
4
- data.tar.gz: 2d7add1ea6c98c095fcd353ed45dabdcfddcdbe9
3
+ metadata.gz: 90f597b4aa3692f9be8c6ddc0b7bedb34de51b66
4
+ data.tar.gz: b70bec17e1364b873bac2cd3bf44ede0c8c676ca
5
5
  SHA512:
6
- metadata.gz: 5d09c61a8fa9570988404c147695a6949fb0d5364d33d3773bf0714a87cf5a1330293061e1c8bd79074a8d793262e52a91e2b26ea810013b59bc0890aba5a187
7
- data.tar.gz: 3a3284c309886933e13b64dffa28c3c823fdc3c27b0debd08b35e203e447bb927b24112def5c3a60b6a2c5b7ddce605098d6015902d255d71ea7dcf7838c3b52
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 to_s(declaration: true)
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myoutline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file