diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-04-02 13:39:36 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-04-07 17:14:07 +0100 |
commit | cb06289e9fc04bf2ea9430828358a7cf304eae8f (patch) | |
tree | 08417e5702f1f7ae759c2907ebbd0f9aa063d32b /lib | |
parent | ce9fa9e77a60d06e3ed968ccb48c0fa30fb9f1f2 (diff) |
Remove redundant AttachmentToHTML::HTML
Diffstat (limited to 'lib')
-rw-r--r-- | lib/attachment_to_html/attachment_to_html.rb | 1 | ||||
-rw-r--r-- | lib/attachment_to_html/html.rb | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/lib/attachment_to_html/attachment_to_html.rb b/lib/attachment_to_html/attachment_to_html.rb index 8675329c4..ca899221b 100644 --- a/lib/attachment_to_html/attachment_to_html.rb +++ b/lib/attachment_to_html/attachment_to_html.rb @@ -1,4 +1,3 @@ -require 'html' require 'view' Dir[File.dirname(__FILE__) + '/adapters/*.rb'].each do |file| diff --git a/lib/attachment_to_html/html.rb b/lib/attachment_to_html/html.rb deleted file mode 100644 index 44d095be8..000000000 --- a/lib/attachment_to_html/html.rb +++ /dev/null @@ -1,14 +0,0 @@ -require 'forwardable' -module AttachmentToHTML - class HTML - extend Forwardable - - def_delegator :@adapter, :to_html, :to_s - def_delegator :@adapter, :success? - - def initialize(adapter) - @adapter = adapter - end - - end -end |