Skip to content

Commit

Permalink
use %Q to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
yrudman committed Jul 30, 2019
1 parent 4f2478b commit 3186fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_widget.rb
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def self.sync_from_hash(attrs)
end

def filter_for_schedule
"\"=\" => {\"field\" => \"MiqWidget-id\", \"value\" => #{id}}"
%Q["=" => {"field" => "MiqWidget-id", "value" => #{id}}]
end

def sync_schedule(schedule_info)
Expand Down

0 comments on commit 3186fb5

Please sign in to comment.