class TweetUrl::Base

Attributes

parser[RW]
url[RW]

Public Class Methods

new(url, opts = {}) click to toggle source
# File lib/tweet_url.rb, line 22
def initialize(url, opts = {})
  @url = url
  @parser = opts.has_key?(:parser) ? opts[:parser] : DEFAULT_PARSER
end