Project

General

Profile

Refactor #6498

simplified eval calls

Added by Ohad Levy over 4 years ago. Updated 5 months ago.

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

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 (diff)
Added by Ohad Levy over 4 years ago

fixes #6498 simplified eval statement

History

#1 Updated by Ohad Levy over 4 years ago

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

#2 Updated by Ohad Levy over 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