nutrun-string 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -93,6 +93,11 @@ module Nutrun
93
93
  def hide
94
94
  "\e[8m#{self}\e[0m"
95
95
  end
96
+
97
+ # only works with print, puts outputs a new line that this does not delete
98
+ def clear_first
99
+ "\r#{self}"
100
+ end
96
101
  end
97
102
  end
98
103
 
@@ -1,5 +1,5 @@
1
1
  module Nutrun
2
2
  module String
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutrun-string
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: