Class: HTMLSchema::Microformat::Object
- Defined in:
- lib/html-schema/microformat/object.rb
Instance Attribute Summary
Attributes inherited from Object
#_name, #as, #attributes, #classes, #parent, #source, #types
Instance Method Summary collapse
Methods inherited from Object
#[], #attribute, #initialize, #inspect, #to_object, #type
Constructor Details
This class inherits a constructor from HTMLSchema::Object
Instance Method Details
#to_hash ⇒ Object
4 5 6 |
# File 'lib/html-schema/microformat/object.rb', line 4 def to_hash {:class => classes.join(" ")} end |