Module: Paf::CoreExt::Object

Defined in:
lib/paf/core_ext/object.rb

Overview

Extend the core Object class with PAF specific processing

Instance Method Summary collapse

Instance Method Details

#vacant?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/paf/core_ext/object.rb', line 5

def vacant?
  respond_to?(:empty?) ? empty? : !self
end