Groups
Groups
Sign in
Groups
Groups
RubyOnRails to russian
Conversations
About
Send feedback
Help
Разделить массив по критерию
0 views
Skip to first unread message
julik
unread,
Nov 19, 2008, 1:50:47 PM
11/19/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror...@googlegroups.com
Есть ли у нас в руби (или в
активусппорте) метод такого свойства
apples, everything_else = enumerable.partition_on { | fruit |
fruit.apple? }
или такого нету?
Sergey Kojin
unread,
Nov 19, 2008, 2:05:04 PM
11/19/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RubyOnRails to russian
почти угадал enum.partition
julik
unread,
Nov 19, 2008, 9:22:46 PM
11/19/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ror...@googlegroups.com
On Nov 19, 2008, at 8:05 PM, Sergey Kojin wrote:
> почти угадал enum.partition
thx
Reply all
Reply to author
Forward
0 new messages