Module: Hobix::UriStr

Defined in:
lib/hobix/weblog.rb

Overview

as strings.

Instance Method Summary collapse

Instance Method Details

#rooturiObject



36
37
38
39
40
# File 'lib/hobix/weblog.rb', line 36

def rooturi
    rooturi = dup
    rooturi.path = ''
    rooturi
end

#to_strObject



32
# File 'lib/hobix/weblog.rb', line 32

def to_str; to_s; end

#to_yaml(opts = {}) ⇒ Object



33
34
35
# File 'lib/hobix/weblog.rb', line 33

def to_yaml( opts = {} )
    self.to_s.to_yaml( opts )
end