Class: Rebuild::License

Inherits:
Object
  • Object
show all
Defined in:
lib/rebuild/license.rb

Class Method Summary collapse

Class Method Details

.agreeObject


10
11
12
# File 'lib/rebuild/license.rb', line 10

def agree
  execute_exp('agree_license')
end

.agreed?Boolean

Returns:

  • (Boolean)

6
7
8
# File 'lib/rebuild/license.rb', line 6

def agreed?
  system('gcc 2>&1 | grep -v Agreeing > /dev/null')
end