Skip to content

Commit

Permalink
Don't duplicate inspect() functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Oct 19, 2020
1 parent c7f50e6 commit daa4528
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/Table-nested-items.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ def open_items
end

def update_open_items(ids)
ids ||= "<nil>"
UI.ChangeWidget(Id(:open_items), :Value, ids.to_s)
UI.ChangeWidget(Id(:open_items), :Value, ids.inspect)
end
end
end
Expand Down

0 comments on commit daa4528

Please sign in to comment.