Module: IsoOpal

Defined in:
lib/iso_opal.rb

Class Method Summary collapse

Class Method Details

.pathsObject

Just to prevent Opal from freezing Opal.paths



3
4
5
# File 'lib/iso_opal.rb', line 3

def self.paths
  Opal.instance_variable_get(:@paths)
end

.paths_include?(path) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/iso_opal.rb', line 7

def self.paths_include?(path)
  paths.include?(path)
end