Skip to content

Instantly share code, notes, and snippets.

@Nakilon
Created October 17, 2024 15:54
Show Gist options
  • Save Nakilon/b595c6753db9124408c8a484a2233b14 to your computer and use it in GitHub Desktop.
Save Nakilon/b595c6753db9124408c8a484a2233b14 to your computer and use it in GitHub Desktop.
largest indentation
module Cainiao
...
def self.main login, password, month, from, to, log_bt = false
...
@mutex.synchronize do
...
[true, xlsx_string[
paginate.call ->{
YAML::Store.new("cache.yaml").transaction do |store|
table.tap{ |_| fail unless 1 <= _.size }.flat_map.with_index do |act, i|
...
f = lambda do |cell, context = nil, expected = 2|
...
dump_on_error.call tab do
...
begin
browser.until_true 7 do
...
end
rescue Timeout::Error
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment