Class: Nonnative::Runner
- Inherits:
-
Object
- Object
- Nonnative::Runner
- Defined in:
- lib/nonnative/runner.rb
Instance Attribute Summary collapse
-
#proxy ⇒ Object
readonly
Returns the value of attribute proxy.
Instance Method Summary collapse
-
#initialize(service) ⇒ Runner
constructor
A new instance of Runner.
- #name ⇒ Object
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
#proxy ⇒ Object (readonly)
Returns the value of attribute proxy.
5 6 7 |
# File 'lib/nonnative/runner.rb', line 5 def proxy @proxy end |
Instance Method Details
#name ⇒ Object
12 13 14 |
# File 'lib/nonnative/runner.rb', line 12 def name service.name end |