Returns the value of attribute only_if.
3 4 5
# File 'lib/inspec/objects/control.rb', line 3 def only_if @only_if end