Class: HtmlToKit
- Inherits:
-
Object
- Object
- HtmlToKit
- Includes:
- ActiveMethod
- Defined in:
- lib/htmltokit.rb,
lib/htmltokit/source.rb,
lib/htmltokit/to_pdf.rb,
lib/htmltokit/version.rb,
lib/htmltokit/to_image.rb
Defined Under Namespace
Classes: Error, Source, ToImage, ToPDF
Constant Summary collapse
- VERSION =
"0.2.0"
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(url_file_or_html) ⇒ HtmlToKit
constructor
A new instance of HtmlToKit.
Constructor Details
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
15 16 17 |
# File 'lib/htmltokit.rb', line 15 def source @source end |