Class: TurboRex::MSRPC::RPCFinder::ImageFinder::AutoFindConf

Inherits:
Object
  • Object
show all
Defined in:
lib/turborex/msrpc/rpcfinder.rb

Instance Method Summary collapse

Constructor Details

#initializeAutoFindConf

Returns a new instance of AutoFindConf.



135
136
137
138
139
140
# File 'lib/turborex/msrpc/rpcfinder.rb', line 135

def initialize
  @options = {
    include_client: true,
    find_client_routines: false
  }
end

Instance Method Details

#buildObject



142
143
144
# File 'lib/turborex/msrpc/rpcfinder.rb', line 142

def build
  @options
end

#exclude_clientObject Also known as: only_server



146
147
148
# File 'lib/turborex/msrpc/rpcfinder.rb', line 146

def exclude_client
  @options[:include_client] = false
end

#find_client_routinesObject



154
155
156
# File 'lib/turborex/msrpc/rpcfinder.rb', line 154

def find_client_routines
  @options[:find_client_routines] = true if @options[:include_client]
end

#only_clientObject



150
151
152
# File 'lib/turborex/msrpc/rpcfinder.rb', line 150

def only_client
  @options[:only_client] = true
end