sig/main.rbs in procon_bypass_man-0.1.9 vs sig/main.rbs in procon_bypass_man-0.1.10

- old
+ new

@@ -61,11 +61,11 @@ def initialize: (x: Integer, y: Integer) -> untyped end module ProconBypassMan - class Configuration + class ButtonsSettingConfiguration attr_accessor layers: untyped attr_accessor setting_path: untyped attr_accessor mode_plugins: untyped @@ -99,11 +99,11 @@ def reset!: () -> untyped end end module ProconBypassMan - class Configuration + class ButtonsSettingConfiguration class Layer attr_accessor mode: untyped attr_accessor flips: untyped @@ -129,21 +129,21 @@ end end end module ProconBypassMan - class Configuration + class ButtonsSettingConfiguration module Loader def self.load: (setting_path: untyped setting_path) -> untyped def self.reload_setting: () -> untyped end end end module ProconBypassMan - class Configuration + class ButtonsSettingConfiguration class Validator def initialize: (untyped config) -> untyped # @return [Boolean] def valid?: () -> untyped @@ -164,9 +164,49 @@ def validate_flip_and_remap_are_hate_each_other: () -> untyped end end end + +class ProconBypassMan::Configuration + module ClassAttributes + def root: () -> untyped + + def logger: () -> untyped + + def error_logger: () -> untyped + + def pid_path: () -> untyped + + def digest_path: () -> untyped + + def cache: () -> untyped + + def config: () -> untyped + end + + attr_reader api_server: untyped + + attr_accessor enable_critical_error_logging: untyped + + def root=: (untyped path) -> untyped + + def root: () -> untyped + + def api_server=: (untyped api_server) -> untyped + + def logger=: (untyped logger) -> untyped + + def logger: () -> untyped + + def error_logger: () -> untyped + + def digest_path: () -> ::String + + # @return [String] pbm-webの接続先 + def internal_api_servers: () -> untyped +end + class ProconBypassMan::DeviceConnector class BytesMismatchError < StandardError end