Class: Avm::Git::SubrepoCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/git/subrepo_check.rb,
lib/avm/git/subrepo_check/parent.rb,
lib/avm/git/subrepo_check/remote.rb,
lib/avm/git/subrepo_check/show_result.rb

Defined Under Namespace

Modules: Parent, Remote, ShowResult

Constant Summary collapse

BLANK_TEXT =
'BLANK'

Instance Method Summary collapse

Instance Method Details

#blank_textObject



17
18
19
# File 'lib/avm/git/subrepo_check.rb', line 17

def blank_text
  BLANK_TEXT
end

#check_remote?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/avm/git/subrepo_check.rb', line 21

def check_remote?
  options.fetch(:check_remote) ? true : false
end

#fix_parent?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/avm/git/subrepo_check.rb', line 25

def fix_parent?
  options.fetch(:fix_parent) ? true : false
end