Exception: R3EXS::ScriptsInfoPathError
- Inherits:
-
IOError
- Object
- IOError
- R3EXS::ScriptsInfoPathError
- Defined in:
- lib/R3EXS/error.rb
Overview
用来处理 Scripts_info.json 文件不存在的异常
Instance Attribute Summary collapse
-
#scripts_info_path ⇒ String
readonly
引发异常的 Scripts_info.json 文件路径.
Instance Method Summary collapse
-
#initialize(msg = '', scripts_info_path) ⇒ ScriptsInfoPathError
constructor
初始化 ScriptsInfoPathError.
Constructor Details
#initialize(msg = '', scripts_info_path) ⇒ ScriptsInfoPathError
初始化 ScriptsInfoPathError
219 220 221 222 |
# File 'lib/R3EXS/error.rb', line 219 def initialize(msg = '', scripts_info_path) super(msg) @scripts_info_path = scripts_info_path end |
Instance Attribute Details
#scripts_info_path ⇒ String (readonly)
引发异常的 Scripts_info.json 文件路径
211 212 213 |
# File 'lib/R3EXS/error.rb', line 211 def scripts_info_path @scripts_info_path end |