Method: Jars.require?

Defined in:
lib/jar_dependencies.rb

.require?Boolean

Returns:

  • (Boolean)

75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/jar_dependencies.rb', line 75

def require?
  @require = nil unless instance_variable_defined?(:@require)
  if @require.nil?
    if ( require = to_boolean( REQUIRE ) ).nil?
      no_require = to_boolean( NO_REQUIRE )
      @require = no_require.nil? ? true : ! no_require
    else
      @require = require
    end
  end
  @require
end