Mark_Co
asked on
What does =~ mean in Ruby
I can't find an answer on Google about what =~ means in Ruby.
Here is an example I am trying to understand
and file in this case is from a loop:
Here is an example I am trying to understand
if regex =~ file
and file in this case is from a loop:
Dir.entries(real_dir).each do |file|
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.