Class: TypeProf::Core::Service

Inherits:
Object
  • Object
show all
Defined in:
sig/shims/typeprof/core.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Service

Returns a new instance of Service.

Parameters:

  • options (Hash[Symbol, bool | String])


15
# File 'sig/shims/typeprof/core.rbs', line 15

def initialize: (Hash[Symbol, bool | String] options) -> void

Instance Attribute Details

#genv ⇒ GlobalEnv (readonly)

Returns the value of attribute genv.

Returns:



14
15
16
# File 'sig/shims/typeprof/core.rbs', line 14

def genv
  @genv
end

Instance Method Details

#update_rb_file ⇒ void

This method returns an undefined value.

Parameters:

  • path (String)
  • code (String, nil)


16
# File 'sig/shims/typeprof/core.rbs', line 16

def update_rb_file: (String path, String? code) -> void

#update_rbs_file ⇒ void

This method returns an undefined value.

Parameters:

  • path (String)
  • code (String, nil)


17
# File 'sig/shims/typeprof/core.rbs', line 17

def update_rbs_file: (String path, String? code) -> void