Class: HtmlTo::Serializer

Inherits:
Object
  • Object
show all
Defined in:
lib/html_to/serializer.rb

Direct Known Subclasses

HtmlToSerializer

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#objectObject (readonly)

Returns the value of attribute object.



2
3
4
# File 'lib/html_to/serializer.rb', line 2

def object
  @object
end