Class: Opal::Minitest::RakeTask::Server
- Inherits:
-
Server
- Object
- Server
- Opal::Minitest::RakeTask::Server
- Defined in:
- lib/opal/minitest/rake_task.rb
Instance Attribute Summary collapse
-
#requires_glob ⇒ Object
readonly
Returns the value of attribute requires_glob.
Instance Method Summary collapse
-
#initialize(args) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(args) ⇒ Server
Returns a new instance of Server.
49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/opal/minitest/rake_task.rb', line 49 def initialize(args) gem_path = Pathname.new(__FILE__).join('../../../..') self.index_path = gem_path.join('opal/opal/minitest/runner.html.erb').to_s super $omt_requires_glob = args.fetch(:requires_glob) $LOAD_PATH.each { |p| append_path(p) } append_path 'test' self.main = 'opal/minitest/loader' self.debug = false end |
Instance Attribute Details
#requires_glob ⇒ Object (readonly)
Returns the value of attribute requires_glob.
47 48 49 |
# File 'lib/opal/minitest/rake_task.rb', line 47 def requires_glob @requires_glob end |