Module: StrictLoading::Core::InstanceMethods

Defined in:
lib/strict-loading/core.rb

Instance Method Summary collapse

Instance Method Details

#strict_loadingObject

(value = true)



23
24
25
# File 'lib/strict-loading/core.rb', line 23

def strict_loading #(value = true)
  spawn.strict_loading! #(value)
end

#strict_loading!Object



15
16
17
# File 'lib/strict-loading/core.rb', line 15

def strict_loading!
  @strict_loading = true
end

#strict_loading?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/strict-loading/core.rb', line 19

def strict_loading?
  @strict_loading
end