miketracy-wwmd 0.2.14 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/lib/wwmd.rb +1 -1
  2. data/lib/wwmd/mixins.rb +4 -0
  3. data/wwmd.gemspec +0 -0
  4. metadata +1 -1
@@ -15,7 +15,7 @@ require 'rexml/document'
15
15
  module WWMD
16
16
 
17
17
  # :stopdoc:
18
- VERSION = "0.2.14"
18
+ VERSION = "0.2.15"
19
19
  PARSER = :nokogiri # :nokogiri || :hpricot
20
20
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
21
21
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
@@ -291,6 +291,10 @@ class String
291
291
  def from_qp
292
292
  self.unpack("M").first
293
293
  end
294
+
295
+ def pbcopy
296
+ IO.popen('pbcopy', 'r+') { |c| c.print self }
297
+ end
294
298
  end
295
299
 
296
300
  class Array
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miketracy-wwmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael L. Tracy