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



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

def blank_text
  BLANK_TEXT
end

#check_remote?Boolean

Returns:

  • (Boolean)


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

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

#fix_parent?Boolean

Returns:

  • (Boolean)


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

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