Module: Opal::RSpec::Compatibility
- Defined in:
- opal/opal/rspec/fixes/opal/compatibility.rb
Defined Under Namespace
Modules: ModuleCase, ModuleCase2, MultModSuper1, MultModSuper2, MultModSuper3 Classes: ModuleCase3, MultModSuperClass
Class Method Summary collapse
-
.module_case_works_right? ⇒ Boolean
not currently needed but is referenced in space.rb fix, https://github.com/opal/opal/issues/1279 - fixed in 0.10.
-
.multiple_module_include_super_works_right? ⇒ Boolean
https://github.com/opal/opal/issues/568 - still not fixed.
Class Method Details
.module_case_works_right? ⇒ Boolean
not currently needed but is referenced in space.rb fix, https://github.com/opal/opal/issues/1279 - fixed in 0.10
16 17 18 19 |
# File 'opal/opal/rspec/fixes/opal/compatibility.rb', line 16 def self.module_case_works_right? instance = ModuleCase3.new ModuleCase === instance && instance.kind_of?(ModuleCase) end |
.multiple_module_include_super_works_right? ⇒ Boolean
https://github.com/opal/opal/issues/568 - still not fixed
43 44 45 46 47 |
# File 'opal/opal/rspec/fixes/opal/compatibility.rb', line 43 def self.multiple_module_include_super_works_right? MultModSuperClass.new.stuff == :howdy rescue Exception => _ false end |