Method: PSD::HasChildren#groups
- Defined in:
- lib/psd/nodes/has_children.rb
#groups ⇒ Object
Returns all group/folder children of this node.
4 5 6 |
# File 'lib/psd/nodes/has_children.rb', line 4 def groups @children.select{ |c| c.is_a?(PSD::Group) } end |