Class: HtmlTo::Serializer
- Inherits:
-
Object
- Object
- HtmlTo::Serializer
- Defined in:
- lib/html_to/serializer.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ Serializer
constructor
A new instance of Serializer.
Constructor Details
#initialize(object) ⇒ Serializer
Returns a new instance of Serializer.
4 5 6 |
# File 'lib/html_to/serializer.rb', line 4 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
2 3 4 |
# File 'lib/html_to/serializer.rb', line 2 def object @object end |