Module: Yuki::EXC

Defined in:
docs/00000_a_root.rb

Overview

Module that allows the game to write and Error.log file if the Exception is not a SystemExit or a Reset

Creation date : 2013, update : 26/09/2017

Author:

  • Nuri Yuri

Constant Summary collapse

Software =

Name of the current Game/Software

'Pokémon SDK'

Class Method Summary collapse

Class Method Details

.build_error_log(e) ⇒ String

Method that build the error log.

Parameters:

  • e (Exception)

    the exception thrown by Ruby

Returns:

  • (String)

    the log readable by anybody



446
447
# File 'docs/00000_a_root.rb', line 446

def build_error_log(e)
end

.build_system_stack_error_log(e, str)

Build the SystemStackError message

Parameters:

  • e (SystemStackError)
  • str


464
465
# File 'docs/00000_a_root.rb', line 464

def build_system_stack_error_log(e, str)
end

.dot_25_battle_reproduction(scene)

Function building the reproduction file

Parameters:



468
469
# File 'docs/00000_a_root.rb', line 468

def dot_25_battle_reproduction(scene)
end

.fix_source_path(source_name) ⇒ String

Function that corrects the source path

Parameters:

  • source_name (String)

    the source name path

Returns:

  • (String)

    the fixed source name



451
452
# File 'docs/00000_a_root.rb', line 451

def fix_source_path(source_name)
end

.get_eval_scriptString?

Get the eval script used by the current eval command

Returns:



459
460
# File 'docs/00000_a_root.rb', line 459

def get_eval_script
end

.mining_game_reproduction(grid_handler)

Function building the reproduction file for the Mining Game

Parameters:



472
473
# File 'docs/00000_a_root.rb', line 472

def mining_game_reproduction(grid_handler)
end

.run(e) .run(e, io)

Method that runs #build_error_log if the Exception is not a SystemExit or a Reset.

Overloads:

  • .run(e)

    The log is sent to Error.log

    Parameters:

    • e (Exception)

      the exception thrown by Ruby

  • .run(e, io)

    The log is sent to an io

    Parameters:

    • e (Exception)

      the exception thrown by Ruby

    • io (#<<)

      the io that receive the log



441
442
# File 'docs/00000_a_root.rb', line 441

def run(e, io = nil)
end

.set_eval_script(script)

Sets the script used by the eval command

Parameters:

  • script (String, nil)

    the script used in the eval command



455
456
# File 'docs/00000_a_root.rb', line 455

def set_eval_script(script)
end

.show_error_window(log)

Function that shows the error window

Parameters:



476
477
# File 'docs/00000_a_root.rb', line 476

def show_error_window(log)
end