lib/vedeu/groups/clear.rb in vedeu-0.6.69 vs lib/vedeu/groups/clear.rb in vedeu-0.6.70
- old
+ new
@@ -43,12 +43,17 @@
# @return [String|Symbol]
attr_reader :name
private
+ # @return [Vedeu::Groups::Group]
+ def group
+ Vedeu.groups.by_name(name)
+ end
+
# @return [Array<String>]
def members
- Vedeu.groups.by_name(name).members
+ group.members
end
end # Clear
end # Groups