Skip to content

Commit

Permalink
Prepare for Ruby 2.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Sep 23, 2014
1 parent 6fc42ce commit 07f7dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmess/guess_encoding/automatic.rb
Expand Up @@ -216,7 +216,7 @@ def next_one_of?(*bytes)
bytes.include?(next_byte)
end

def read(chunk_size = chunk_size)
def read(chunk_size = chunk_size())
@byte_count ||= Hash.new(0)
@byte_total ||= 0

Expand Down

0 comments on commit 07f7dcb

Please sign in to comment.