Permalink
Browse files

Merge pull request #250 from ioanatia/private_methods_cleanup

Private methods cleanup
  • Loading branch information...
2 parents bb7747a + b51c1cf commit 58507e01ae7fa081f52059cdba390ada789918fc @yob committed on GitHub Aug 15, 2017
Showing with 1 addition and 6 deletions.
  1. +0 −4 lib/pdf/reader/encoding.rb
  2. +1 −2 lib/pdf/reader/lzw.rb
@@ -198,10 +198,6 @@ def get_mapping_file(enc)
end
end
- def has_mapping?
- @mapping.size > 0
- end
-
def glyphlist
@glyphlist ||= PDF::Reader::GlyphHash.new
end
View
@@ -116,11 +116,10 @@ def self.decode(data)
result
end
- private
-
def self.create_new_string(string_table,some_code, other_code)
string_table[some_code] + string_table[other_code][0].chr
end
+ private_class_method :create_new_string
end
end

0 comments on commit 58507e0

Please sign in to comment.