Sha256: 0de9d1ad8ed01b719ed02663ab1854aa94961f0d288b33c4f6370170e3e429a4

Contents?: true

Size: 286 Bytes

Versions: 15

Compression:

Stored size: 286 Bytes

Contents

# frozen_string_literal: true

class ProconBypassMan::SuppressRumble
  # @param [String] binary
  def initialize(binary: )
    @binary = binary
  end

  # @return [String]
  def execute
    new_raw = ["100c0001404000014040"].pack("H*")
    new_raw[1] = @binary[1]
    new_raw
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.11 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.10 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.9 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.8.1 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.8 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.7 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.6 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.5 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.4 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/procon/suppress_rumble.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/procon/suppress_rumble.rb