Sha256: cbab8652040114557338ea1c633bed432f561780ee6710f37d88a123a03104fc

Contents?: true

Size: 379 Bytes

Versions: 24

Compression:

Stored size: 379 Bytes

Contents

class ProconBypassMan::Processor

  # @param [ProconBypassMan::Domains::InboundProconBinary] binary
  def initialize(binary)
    @binary = binary
  end

  # @return [String] 加工後の入力データ
  def process
    return @binary.raw unless @binary.user_operation_data?

    procon = ProconBypassMan::Procon.new(@binary.raw)
    procon.apply!
    procon.to_binary
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.6 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.5 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.4 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.2.2 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.2.1 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.2.0 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.23 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.22 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.21 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.20.2 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.20.1 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.20 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.19.1 lib/procon_bypass_man/processor.rb
procon_bypass_man-0.1.19 lib/procon_bypass_man/processor.rb