Class: Isorun::Module

Inherits:
Object
  • Object
show all
Defined in:
lib/isorun/module.rb,
sig/isorun/module.rbs

Overview

rubocop:disable Lint/EmptyClass

Constant Summary collapse

CACHE_KEY =

Returns:

  • (Object)
CallOptions =

Returns:

  • (Object)
DEFAULT_ENTRYPOINT =

Returns:

  • (Object)
DEFAULT_RECEIVER =

Returns:

  • (Object)
DEFAULT_RESOLVER =

Returns:

  • (Object)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bundle_path ⇒ string (readonly)

Returns the value of attribute bundle_path.

Returns:

  • (string)


14
15
16
# File 'sig/isorun/module.rbs', line 14

def bundle_path
  @bundle_path
end

#entrypoint ⇒ string

Returns the value of attribute entrypoint.

Returns:

  • (string)


16
17
18
# File 'sig/isorun/module.rbs', line 16

def entrypoint
  @entrypoint
end

#mesage_receiver=(value) ⇒ Object (writeonly)

Sets the attribute mesage_receiver

Parameters:

  • value (Object) —

    the value to set the attribute mesage_receiver to.



19
20
21
# File 'sig/isorun/module.rbs', line 19

def mesage_receiver=(value)
  @mesage_receiver = value
end

#module_resolver=(value) ⇒ Object (writeonly)

Sets the attribute module_resolver

Parameters:

  • value (Proc) —

    the value to set the attribute module_resolver to.



15
16
17
# File 'sig/isorun/module.rbs', line 15

def module_resolver=(value)
  @module_resolver = value
end

#receiver=(value) ⇒ Object (writeonly)

Sets the attribute receiver

Parameters:

  • value (Object) —

    the value to set the attribute receiver to.



21
22
23
# File 'sig/isorun/module.rbs', line 21

def receiver=(value)
  @receiver = value
end

Instance Method Details

#call ⇒ Object

Returns:

  • (Object)


25
# File 'sig/isorun/module.rbs', line 25

def call: -> untyped

#environment ⇒ string

Returns:

  • (string)


37
# File 'sig/isorun/module.rbs', line 37

def environment: -> string

#exist? ⇒ Boolean

Returns:

  • (Boolean)


27
# File 'sig/isorun/module.rbs', line 27

def exist?: -> bool

#force_reload ⇒ Boolean

Returns:

  • (Boolean)


39
# File 'sig/isorun/module.rbs', line 39

def force_reload: -> bool

#import ⇒ Object

Returns:

  • (Object)


29
# File 'sig/isorun/module.rbs', line 29

def import: -> untyped

#module_resolver ⇒ string (writeonly)

Returns:

  • (string)


23
# File 'sig/isorun/module.rbs', line 23

def module_resolver: -> string

#receiver ⇒ string (writeonly)

Returns:

  • (string)


31
# File 'sig/isorun/module.rbs', line 31

def receiver: -> string

#resolve_bundle_path ⇒ string

Returns:

  • (string)


33
# File 'sig/isorun/module.rbs', line 33

def resolve_bundle_path: -> string