Class: Lbp::WorkGroup

Inherits:
Resource show all
Defined in:
lib/lbp/work_group.rb

Instance Attribute Summary

Attributes inherited from Resource

#identifier, #results

Instance Method Summary collapse

Methods inherited from Resource

create, #description, find, #has_parts, #initialize, #is_part_of, #title, #type, #value, #values

Constructor Details

This class inherits a constructor from Lbp::Resource

Instance Method Details

#expressionsObject



11
12
13
# File 'lib/lbp/work_group.rb', line 11

def expressions
	values("http://scta.info/property/hasExpression")
end

#work_groupsObject

works groups can contain other work groups but works groups should really only list child workGroups and this this should be covered through the generic has_parts method db currently has “hasWorkGroup” and this needs to be changed to “hasPart” before this method can be removed



8
9
10
# File 'lib/lbp/work_group.rb', line 8

def work_groups
	values("http://scta.info/property/hasWorkGroup")
end