J
James Byrne
I have a situation where I desire to pass a string to a method that
then:
1. Capitalizes the the string value
2. Finds a class by that name
Something like:
def findmyclass(m)
find_class_by_name(m.capitalize)
end
Is this possible (surely) and if so, how is it done?
Thanks
then:
1. Capitalizes the the string value
2. Finds a class by that name
Something like:
def findmyclass(m)
find_class_by_name(m.capitalize)
end
Is this possible (surely) and if so, how is it done?
Thanks