Class: Pult::Executor::Screener
- Inherits:
-
Object
- Object
- Pult::Executor::Screener
- Defined in:
- lib/init/struct.rb,
lib/pult/executor/screener.rb
Instance Attribute Summary collapse
-
#runner ⇒ Object
readonly
Returns the value of attribute runner.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(screen, env, params, command) ⇒ Screener
constructor
A new instance of Screener.
- #run! ⇒ Object
Constructor Details
#initialize(screen, env, params, command) ⇒ Screener
Returns a new instance of Screener.
11 12 13 14 15 16 |
# File 'lib/pult/executor/screener.rb', line 11 def initialize screen, env, params, command @screen = screen @env = env @params = params @command = command end |
Instance Attribute Details
#runner ⇒ Object (readonly)
Returns the value of attribute runner.
3 4 5 |
# File 'lib/pult/executor/screener.rb', line 3 def runner @runner end |
Class Method Details
.run!(screen:, env: {}, params: {}, command: '') ⇒ Object
5 6 7 8 9 |
# File 'lib/pult/executor/screener.rb', line 5 def self.run! screen:, env:{}, params:{}, command:'' screener = new(screen, env, params, command) screener.run! screener.runner end |
Instance Method Details
#run! ⇒ Object
18 19 20 |
# File 'lib/pult/executor/screener.rb', line 18 def run! execute! end |