Class: Svnx::Diff::Options

Inherits:
Base::Options show all
Defined in:
lib/svnx/diff/options.rb

Constant Summary collapse

FIELDS =
Hash.new.tap do |h|
  h[:commit]           = Proc.new { |x| [ "-c", x.commit ] }
  h[:ignoreproperties] = "--ignore-properties"
  h[:depth]            = Proc.new { |x| [ "--depth", x.depth ] }
  h[:paths]            = nil
  h[:url]              = nil
end.merge(Svnx::Base::IGNORE_WHITESPACE)

Instance Method Summary collapse

Methods inherited from Base::Options

#get_args, has_fields, #initialize, #options_to_args, #to_args

Methods included from ObjectUtil

#assign, #create_invalid_fields_message, included, #validate

Methods included from ObjectUtil::ClassMethods

#attr_readers, #xhas_fields

Constructor Details

This class inherits a constructor from Svnx::Base::Options

Instance Method Details

#fieldsObject



23
24
25
# File 'lib/svnx/diff/options.rb', line 23

def fields
  FIELDS
end