Refactor #6498

simplified eval calls

Added by Ohad Levy about 4 years ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Ohad Levy
Category:-
Target version:1.6.0
Difficulty:trivial Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:

Description

in a few places we have code like
eval("self.#{k}= v") if self.respond_to?("#{k}=")

changing it to
self.send("#{k}=",v) if self.respond_to?("#{k}=")

Associated revisions

Revision ec86e6d9
Added by Ohad Levy about 4 years ago

fixes #6498 simplified eval statement

History

#1 Updated by Ohad Levy about 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#2 Updated by Ohad Levy about 4 years ago

  • Assignee set to Ohad Levy
  • Target version set to 1.8.1
  • Legacy Backlogs Release (now unused) set to 10
  • Difficulty set to trivial

Also available in: Atom PDF