-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved stringification for load commands (#447)
* Improved stringification for load commands 1. Changes to load_commands.rb Added .to_s to all easily stringifiable LoadCommand classes 2. Changes to macho_file.rb Removed now unnecessary chained method calls to LoadCommand classes * Reverted changes to lib/macho/macho_file.rb to master * Added tests for LoadCommand.to_s implementations I also fixed some other lines that popped up as pre-commit issues after adding the one line assert to the test_macho.rb file. I added an exclude statement to stop one warning which I think is just related to the test framework and the other was just a matter of changing the style. Just small details. * Fix rubocop warning in test_macho.rb file
- Loading branch information
1 parent
787d87a
commit 6664172
Showing
3 changed files
with
77 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters