lib/bubs.rb in bubs-0.0.3 vs lib/bubs.rb in bubs-0.0.4
- old
+ new
@@ -1,8 +1,8 @@
# encoding: utf-8
class Bubs
- VERSION = '0.0.3'
+ VERSION = '0.0.4'
# Convert words to ⓌⓄⓇⒹⓈ.
#
# Returns a String, but a much cooler string than what you had initially.
def self.convert(text)
@@ -18,8 +18,8 @@
'pbcopy'
when /linux/
'xclip'
end
- copycmd && `printf "#{text}" | #{copycmd}`
+ copycmd && system("printf \"#{text}\" | #{copycmd}")
end
end