class Spydecz::Website

Public Class Methods

new(page_url) click to toggle source
# File lib/spydecz/website.rb, line 4
def initialize(page_url)
  @page_url = page_url
end

Public Instance Methods

all() click to toggle source
# File lib/spydecz/website.rb, line 32
def all
  com_page = []
  com_page << author
  com_page << canonical
  com_page << desc
  com_page << keywords
  com_page << title
  com_page
end
author() click to toggle source
# File lib/spydecz/website.rb, line 8
def author
  "Raymond Cudjoe"
end
canonical() click to toggle source
# File lib/spydecz/website.rb, line 12
def canonical
  @page_url
end
desc() click to toggle source
# File lib/spydecz/website.rb, line 16
def desc
  "Become better at building products and selling them."
end
keywords() click to toggle source
# File lib/spydecz/website.rb, line 20
def keywords
  ["ruby", "ruby on rails", "command-line apps", "ruby gems"]
end
status() click to toggle source
# File lib/spydecz/website.rb, line 24
def status
  "200 OK"
end
title() click to toggle source
# File lib/spydecz/website.rb, line 28
def title
  "Excel with Code"
end