Sha256: 74619594c0e79663e0488eb9bf960048880f5abe342fa44a3c67da693a9d0019
Contents?: true
Size: 581 Bytes
Versions: 20
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true require "sod" module SublimeTextKit module CLI module Actions # Handles session action. class Session < Sod::Action include Import[:logger] description "Rebuild session metadata." on %w[-S --session] def initialize(rebuilder: Sessions::Rebuilder.new, **) super(**) @rebuilder = rebuilder end def call(*) rebuilder.call logger.info "Session rebuilt." end private attr_reader :rebuilder end end end end
Version data entries
20 entries across 20 versions & 1 rubygems