Class: Microformats2::Property::Url

Inherits:
Foundation show all
Defined in:
lib/microformats2/property/url.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

#method_name

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_sObject



5
6
7
# File 'lib/microformats2/property/url.rb', line 5

def to_s
  @to_s = Microformats2::AbsoluteUri.new(@base, super.to_s).absolutize
end