hensei-api/sig/granblue/transformers/base_transformer.rbs
Justin Edmund 7d164b540c
Adds documentation to some lib functions (#168)
* Add sigs and docs to transformers

* Add sigs and docs to downloaders

* Adds sigs and docs to importers
2025-01-18 03:09:29 -08:00

31 lines
784 B
Text

module Granblue
module Transformers
class TransformerError < StandardError
attr_reader details: untyped
def initialize: (String message, ?untyped details) -> void
end
class BaseTransformer
ELEMENT_MAPPING: Hash[Integer, Integer?]
@data: untyped
@options: Hash[Symbol, untyped]
@language: String
attr_reader data: untyped
attr_reader options: Hash[Symbol, untyped]
attr_reader language: String
def initialize: (untyped data, ?Hash[Symbol, untyped] options) -> void
def transform: -> untyped
def validate_data: -> bool
def get_master_param: (Hash[String, untyped] obj) -> [Hash[String, untyped]?, Hash[String, untyped]?]
def log_debug: (String message) -> void
end
end
end