class CamTool::Search
Attributes
map[R]
Public Class Methods
new()
click to toggle source
# File lib/camtool/search.rb, line 5 def initialize @map = Hash.new(0) end
Public Instance Methods
activity(k, v)
click to toggle source
# File lib/camtool/search.rb, line 33 def activity k, v @map[k] = v end
agent(k, v)
click to toggle source
# File lib/camtool/search.rb, line 37 def agent k, v @map[k] = v end
entity(k, v)
click to toggle source
# File lib/camtool/search.rb, line 29 def entity k, v @map[k] = v end
search(id)
click to toggle source
# File lib/camtool/search.rb, line 41 def search id puts @map[id] end
used(k, v)
click to toggle source
# File lib/camtool/search.rb, line 9 def used k, v @map[k] = v end
wasAssociatedWith(k, v)
click to toggle source
# File lib/camtool/search.rb, line 25 def wasAssociatedWith k, v @map[k] = v end
wasDerivedFrom(k, v)
click to toggle source
# File lib/camtool/search.rb, line 17 def wasDerivedFrom k, v @map[k] = v end
wasGeneratedBy(k, v)
click to toggle source
# File lib/camtool/search.rb, line 13 def wasGeneratedBy k, v @map[k] = v end
wasInformedBy(k, v)
click to toggle source
# File lib/camtool/search.rb, line 21 def wasInformedBy k, v @map[k] = v end