forresty/rdkit

View on GitHub
example/callbacks/command_runner.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Callbacks
  class CommandRunner < RDKit::RESPRunner
    attr_reader :core

    def initialize(core)
      @core = core
    end

    def block
      core.block

      'OK'
    end

    def nonblock
      core.nonblock

      'OK'
    end
  end
end