[newbie] windows renaming


i’m beginning to use Ruby, but i can’t find examples of renaming with
the Dir class.

I’ve tried a code lign like this :

{ |name| copy #{name} #{name.sub(/cadre/, "alias_")}}

but nothing happens.

  1. Is my url correct ?
  2. how can i give orders to my windows ?

Thanks for your answers

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs