sig/main.rbs in procon_bypass_man-0.1.11 vs sig/main.rbs in procon_bypass_man-0.1.12

- old
+ new

@@ -6,13 +6,10 @@ def name: () -> _Symolize def respond_to?: (::Symbol) -> bool end module ProconBypassMan - class ProConRejected < StandardError - end - class CouldNotLoadConfigError < StandardError end class FirstConnectionError < StandardError end @@ -166,11 +163,11 @@ end end end class ProconBypassMan::Configuration - module ClassAttributes + module ClassMethods def root: () -> untyped def logger: () -> untyped def error_logger: () -> untyped @@ -425,24 +422,18 @@ module ProconBypassMan::Procon::PressedButtonHelper module Static def pressed_button?: (untyped button) -> untyped end - - module Dynamic - def compile_if_not_compile_yet!: () -> untyped - end end class ProconBypassMan::Procon class UserOperation include LayerChangeable include PressedButtonHelper::Static - extend PressedButtonHelper::Dynamic - attr_reader binary: untyped def initialize: (untyped binary) -> untyped ZERO_BIT: untyped @@ -496,10 +487,17 @@ end end module ProconBypassMan class Uptime - def self.from_boot: () -> untyped + # @return [Integer] + def self.from_boot: () -> Integer + + # @param [String] uptime_cmd_result + def initialize: (uptime_cmd_result: String uptime_cmd_result) -> void + + # @return [Integer] + def from_boot: () -> Integer end end module ProconBypassMan VERSION: ::String