sig/bbk/config.rbs in bbk-utils-1.0.1.93642 vs sig/bbk/config.rbs in bbk-utils-1.0.1.97943
- old
+ new
@@ -22,11 +22,11 @@
attr_accessor store: untyped
attr_accessor name: String?
def self.instance: () -> instance
- def initialize: (?String name) -> void
+ def initialize: (?name: String?, ?prefix: String?, ?parent: BBK::Utils::Config?) -> void
def map: (envSource env, String file, ?required: bool, ?desc: String, ?bool: bool, ?key: String) -> void
def require: (envSource env, ?desc: String?, ?bool: bool, ?type: typeCaster, ?key: String?) -> void
def optional: (envSource env, ?default: untyped, ?desc: String, ?bool: bool, ?type: typeCaster, ?key: String) -> void
def run!: (?envSource source) -> void
@@ -39,10 +39,10 @@
def to_json: (*untyped) -> String
def to_yaml: (*untyped) -> String
private
- def normalize_key: (string key) -> String
+ def normalize_key: (String? key) -> String?
def process: (envSource source, configItem item) -> void
def required!: (configItem item) -> void
def print_file_item: (configItem item, String padding) -> String
def print_item: (configItem item, String padding) -> String
\ No newline at end of file