Class: Nonnative::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/nonnative/runner.rb

Direct Known Subclasses

Process, Server, Service

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service) ⇒ Runner

Returns a new instance of Runner.



7
8
9
10
# File 'lib/nonnative/runner.rb', line 7

def initialize(service)
  @service = service
  @proxy = Nonnative::ProxyFactory.create(service)
end

Instance Attribute Details

#proxyObject (readonly)

Returns the value of attribute proxy.



5
6
7
# File 'lib/nonnative/runner.rb', line 5

def proxy
  @proxy
end

Instance Method Details

#nameObject



12
13
14
# File 'lib/nonnative/runner.rb', line 12

def name
  service.name
end