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



14
15
16
# File 'lib/avm/git/subrepo_check.rb', line 14

def blank_text
  BLANK_TEXT
end

#check_remote?Boolean

Returns:

  • (Boolean)


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

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

#fix_parent?Boolean

Returns:

  • (Boolean)


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

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