Class: Microformats2::Property::Embedded
- Inherits:
-
Foundation
- Object
- Foundation
- Microformats2::Property::Embedded
- Defined in:
- lib/microformats2/property/embedded.rb
Constant Summary
Constants inherited from Foundation
Foundation::VALUE_CLASS_REG_EXP, Foundation::VALUE_TITLE_CLASS_REG_EXP
Instance Attribute Summary
Attributes inherited from Foundation
Instance Method Summary collapse
Methods inherited from Foundation
#format, #formats, #initialize, #items, #method_missing, #parse, #to_hash, #to_json
Constructor Details
This class inherits a constructor from Microformats2::Property::Foundation
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Microformats2::Property::Foundation
Instance Method Details
#to_s ⇒ Object
4 5 6 |
# File 'lib/microformats2/property/embedded.rb', line 4 def to_s @to_s ||= string_value || @element.inner_html.strip end |