seancribbs/ripple — Issue #239: RObject#siblings has return type ([RObject] | RObject)
Author: aphyr
Created: 2011-11-15 21:07:15+00:00
State: open

I think a pluralized method returning a list like #siblings should *always* return an array. As it stands, when only one sibling exists it returns that RObject directly, which makes it difficult to write code using #siblings without case statements.

@seancribbs, @adamhunter, @myronmarsten, @duff, @ntalbott, thoughts? Shall I change #siblings to return [self] when no conflict is present?