Anyone know what this sort of a method does?
def scoper
eval “Helpdesk::#{cname.classify}”
end
Anyone know what this sort of a method does?
def scoper
eval “Helpdesk::#{cname.classify}”
end
On Apr 13, 11:49 am, Steve S. [email protected] wrote:
Anyone know what this sort of a method does?
def scoper
eval “Helpdesk::#{cname.classify}”
end
Not very much - turns a string into a class (and depending on where
cname comes from, could be a big security hole)
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs