Class: Opal::RSpec::Runner::LegacyServerProxy
- Inherits:
-
Object
- Object
- Opal::RSpec::Runner::LegacyServerProxy
- Defined in:
- lib/opal/rspec/runner.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
noop options.
-
#index_path ⇒ Object
Returns the value of attribute index_path.
Instance Method Summary collapse
- #append_path(path) ⇒ Object
-
#initialize ⇒ LegacyServerProxy
constructor
A new instance of LegacyServerProxy.
- #to_cli_options ⇒ Object
Constructor Details
#initialize ⇒ LegacyServerProxy
Returns a new instance of LegacyServerProxy.
54 55 56 |
# File 'lib/opal/rspec/runner.rb', line 54 def initialize @paths ||= Set.new end |
Instance Attribute Details
#debug ⇒ Object
noop options
68 69 70 |
# File 'lib/opal/rspec/runner.rb', line 68 def debug @debug end |
#index_path ⇒ Object
Returns the value of attribute index_path.
65 66 67 |
# File 'lib/opal/rspec/runner.rb', line 65 def index_path @index_path end |
Instance Method Details
#append_path(path) ⇒ Object
58 59 60 |
# File 'lib/opal/rspec/runner.rb', line 58 def append_path(path) @paths << path end |
#to_cli_options ⇒ Object
70 71 72 73 74 75 76 |
# File 'lib/opal/rspec/runner.rb', line 70 def = [] @paths.map do |path| << "-I#{path.shellescape}" end end |