Class: Thredded::EmailTransformer::Base
- Inherits:
-
Object
- Object
- Thredded::EmailTransformer::Base
- Includes:
- Helpers
- Defined in:
- lib/thredded/email_transformer/base.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
- #doc ⇒ Nokogiri::HTML::Document readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(doc) ⇒ Base
constructor
A new instance of Base.
Methods included from Helpers
Constructor Details
#initialize(doc) ⇒ Base
Returns a new instance of Base.
31 32 33 |
# File 'lib/thredded/email_transformer/base.rb', line 31 def initialize(doc) @doc = doc end |
Instance Attribute Details
#doc ⇒ Nokogiri::HTML::Document (readonly)
28 29 30 |
# File 'lib/thredded/email_transformer/base.rb', line 28 def doc @doc end |
Class Method Details
.inherited(base) ⇒ Object
35 36 37 |
# File 'lib/thredded/email_transformer/base.rb', line 35 def self.inherited(base) base.extend ClassMethods end |