class Roo::Link

Attributes

href[R]
url[R]

Public Class Methods

new(href='', text=href) click to toggle source
Calls superclass method
# File lib/roo/link.rb, line 6
def initialize(href='', text=href)
  super(text)
  @href = href
end

Public Instance Methods

to_uri() click to toggle source
# File lib/roo/link.rb, line 11
def to_uri
  URI.parse href
end