Class: Parliament::Utils::Helpers::RoleGroupingHelper::RoleGroupedObject

Inherits:
Object
  • Object
show all
Defined in:
lib/parliament/utils/helpers/role_grouping_helper.rb

Overview

Finds Grom::Nodes that can be grouped and builds GroupingHelper::GroupedObject objects

Instance Attribute Summary collapse

Instance Attribute Details

#end_dateObject

Returns the value of attribute end_date.



13
14
15
# File 'lib/parliament/utils/helpers/role_grouping_helper.rb', line 13

def end_date
  @end_date
end

#nodesObject

Returns the value of attribute nodes.



13
14
15
# File 'lib/parliament/utils/helpers/role_grouping_helper.rb', line 13

def nodes
  @nodes
end

#start_dateObject

Returns the value of attribute start_date.



13
14
15
# File 'lib/parliament/utils/helpers/role_grouping_helper.rb', line 13

def start_date
  @start_date
end

#typeObject

Returns the value of attribute type.



13
14
15
# File 'lib/parliament/utils/helpers/role_grouping_helper.rb', line 13

def type
  @type
end