Skip to content

Commit

Permalink
bin/pdf2ruby: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Delugré committed Jan 5, 2019
1 parent ab869d6 commit 4fc9e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pdf2ruby
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ while @current_idx != @obj_route.size
var_name = @obj_route[@current_idx]
obj = target[@var_hash.key(var_name)]

@code_hash[varname] ||= {}
@code_hash[varname][:body] = objectToRuby(obj, 0, varname, true)
@code_hash[var_name] ||= {}
@code_hash[var_name][:body] = objectToRuby(obj, 0, var_name, true)

@current_idx = @current_idx + 1
end
Expand Down

0 comments on commit 4fc9e28

Please sign in to comment.