class Item

Public Class Methods

new() click to toggle source
# File lib/item.rb, line 2
def initialize
  @givenTitle = ''
  @givenURL = ''
  @tags = []
  @status = 0
end

Public Instance Methods

getGivenTitle() click to toggle source
# File lib/item.rb, line 25
def getGivenTitle
  @givenTitle
end
getGivenUrl() click to toggle source
# File lib/item.rb, line 28
def getGivenUrl
  @givenUrl
end
getStatus() click to toggle source
# File lib/item.rb, line 34
def getStatus
  @status
end
getTags() click to toggle source
# File lib/item.rb, line 31
def getTags
  @tags
end
print() click to toggle source
setGivenTitle(givenTitle) click to toggle source
# File lib/item.rb, line 13
def setGivenTitle(givenTitle)
  @givenTitle = givenTitle
end
setGivenURL(givenUrl) click to toggle source
# File lib/item.rb, line 16
def setGivenURL(givenUrl)
  @givenUrl = givenUrl
end
setStatus(status) click to toggle source
# File lib/item.rb, line 22
def setStatus(status)
  @status = status
end
setTags(tags) click to toggle source
# File lib/item.rb, line 19
def setTags(tags)
  @tags = tags
end