Class: Diffy::Diff

Inherits:
Object
  • Object
show all
Defined in:
lib/bootic_cli/themes/updated_theme.rb

Instance Method Summary collapse

Instance Method Details

#diff_optionsObject

monkey patch diffy to fix buggy bug: github.com/samg/diffy/pull/103



6
7
8
# File 'lib/bootic_cli/themes/updated_theme.rb', line 6

def diff_options
  Array(options[:context] ? "-U#{options[:context]}" : options[:diff])
end