The UriStr mixin ensures that URIs are supplied a to_str method and a to_yaml method which allows the URI to act more like a string. In most cases, Hobix users will be using URIs as strings.
[Source]
# File lib/hobix/weblog.rb, line 36 36: def rooturi 37: rooturi = dup 38: rooturi.path = '' 39: rooturi 40: end
# File lib/hobix/weblog.rb, line 32 32: def to_str; to_s; end
# File lib/hobix/weblog.rb, line 33 33: def to_yaml( opts = {} ) 34: self.to_s.to_yaml( opts ) 35: end
[Validate]