Method: BooticCli::Themes::UpdatedTheme#initialize

Defined in:
lib/bootic_cli/themes/updated_theme.rb

#initialize(source:, target:, force_update: false) ⇒ UpdatedTheme

Returns a new instance of UpdatedTheme.



20
21
22
23
24
25
# File 'lib/bootic_cli/themes/updated_theme.rb', line 20

def initialize(source:, target:, force_update: false)
  @source, @target = source, target
  # when doing a pull or push, we don't care if the other end has a more recent version
  # we only do that when syncing changes, in which case force_update should be false
  @force_update = force_update
end