Ruby On Conversion from the 2d arra...

by Dmitry Polushkin, October 22, 2008 18:21

Something like I have writt...

832ed6ace46d61032151f4e1864c057f Talk

Ruby On Conversion from the 2d arra...

by Dmitry Polushkin, October 22, 2008 14:24

@danielharan: is it faster ...

832ed6ace46d61032151f4e1864c057f Talk
1
res = path_without_calculation.scan(/\{(.*?)\}/).flatten

Ruby On Extract text between {} bra...

by Dmitry Polushkin, October 22, 2008 14:20 Star_fullStar_fullStar_fullStar_fullStar_full
832ed6ace46d61032151f4e1864c057f Talk

Ruby On Conversion from the 2d arra...

by Dmitry Polushkin, October 22, 2008 14:17

Thanks! Why no "to_h" metho...

832ed6ace46d61032151f4e1864c057f Talk
1
2
3
4
class Array
  def to_h
    hash = {}
...

Ruby Conversion from the 2d arra...

by Dmitry Polushkin, October 22, 2008 09:11, 7 refactorings, tagged with 2d array, hash, convert

Conversion from the 2d arra...

832ed6ace46d61032151f4e1864c057f Talk

Ruby On Open hours grouping

by Dmitry Polushkin, October 16, 2008 06:20

I have some idea how to imp...

832ed6ace46d61032151f4e1864c057f Talk

Ruby On Open hours grouping

by Dmitry Polushkin, October 16, 2008 06:18

@tmpr: You have an error in...

832ed6ace46d61032151f4e1864c057f Talk
1
2
3
4
WEEKDAYS = %w(mon tue wed thu fri sat sun)

dates = [
...

Ruby Open hours grouping

by Dmitry Polushkin, October 08, 2008 09:13, 4 refactorings, tagged with grouping, hours, weekdays

Actually I really don't kno...

832ed6ace46d61032151f4e1864c057f Talk