Project

General

Profile

Actions

Refactor #6498

closed

simplified eval calls

Added by Ohad Levy over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
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}=")

Actions #1

Updated by Ohad Levy over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Ohad Levy over 10 years ago

  • Assignee set to Ohad Levy
  • Target version set to 1.8.1
  • Translation missing: en.field_release set to 10
  • Difficulty set to trivial
Actions

Also available in: Atom PDF