Refactor #6498

simplified eval calls

Added by Ohad Levy almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assigned To:Ohad Levy
Category:-
Target version:Sprint 25
Difficulty:trivial Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

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 almost 4 years ago

fixes #6498 simplified eval statement

History

#1 Updated by Ohad Levy almost 4 years ago

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

#2 Updated by Ohad Levy almost 4 years ago

  • Assigned To set to Ohad Levy
  • Target version set to Sprint 25
  • Release set to 1.6.0
  • Difficulty set to trivial

Also available in: Atom PDF