class Playbook::PbHashtag::Hashtag

def classname

def classname
  generate_classname("pb_hastag_kit")
end

def hashtag_text

def hashtag_text
  type_text + text
end

def target_option

def target_option
  if target && url
    target
  elsif new_window
    "_blank"
  else
    "_self"
  end
end

def type_text

def type_text
  if type === "home"
    "H#"
  elsif type === "project"
    "P#"
  elsif type === "appointment"
    "A#"
  else
    "#"
  end
end