Remove Padded module

Parfait was depending on it, ie it created a dependency out of Parfait. But Parfiat needs to be self contained.
Moved 2 methods into parfait object, and resolved single call from text_writer to third.
This commit is contained in:
2019-08-17 21:07:07 +03:00
parent ae7f31381b
commit 4c76ff3388
9 changed files with 22 additions and 126 deletions

View File

@ -183,7 +183,7 @@ module Parfait
end
def padded_length
Padding.padded( 4 * get_type().instance_length + char_length )
Object.padded( 4 * get_type().instance_length + char_length )
end
private