Sha256: e7b3116a94b69dd3e42d40b30f48d3d461e7b9bef027534126028f814c3d5c84

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

module Yrpc

  class Executor


    def run
      server = Yrpc::Server.new(Yrpc.server_options)
      Yrpc.services.each { |service| server.add_service(service) }
      server.grpc_server.run
    end

    def auto_load_all

    end


  end

  module Ruler
    def self.to_underscore(string)
      string.gsub(/::/, '/').
          gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').
          gsub(/([a-z\d])([A-Z])/, '\1_\2').
          tr("-", "_").
          downcase
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ampedxx-yrpc-0.1.6 lib/yrpc/executor/executor.rb
ampedxx-yrpc-0.1.4 lib/yrpc/executor/executor.rb