lib/idiotz/highlight.rb in idiotz-0.2.1 vs lib/idiotz/highlight.rb in idiotz-0.2.11
- old
+ new
@@ -1,7 +1,7 @@
module Idiotz
class Highlight
- def self.execute(path)
+ def self.execute
`highlight -u "utf-8" -O rtf /tmp/highlight.rb | pbcopy`
puts 'highlight'
end
end
end