Class: Avm::Git::Subrepo::Check

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_text ⇒ Object



15
16
17
# File 'lib/avm/git/subrepo/check.rb', line 15

def blank_text
  BLANK_TEXT
end

#check_remote? ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/avm/git/subrepo/check.rb', line 19

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

#fix_parent? ⇒ Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/avm/git/subrepo/check.rb', line 23

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