Skip to content

Commit

Permalink
Removed unused MaskedString#slice_mask method
Browse files Browse the repository at this point in the history
  • Loading branch information
mloughran committed Mar 4, 2013
1 parent e0217fd commit 299a444
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/em-websocket/masking04.rb
Expand Up @@ -15,10 +15,6 @@ def unset_mask
@masking_key = nil
end

def slice_mask
slice!(0, 4)
end

def getbyte(index)
if defined?(@masking_key) && @masking_key
masked_char = super
Expand Down

0 comments on commit 299a444

Please sign in to comment.