Module: Relevate

Defined in:
lib/assert_xpath.rb

Overview

parking some tiny conveniences here,

where even production code can get to them...

Instance Method Summary collapse

Instance Method Details

#relevanceObject



748
749
750
# File 'lib/assert_xpath.rb', line 748

def relevance
  return to_s  if relevant?
end

#relevant?Boolean

Returns:

  • (Boolean)


744
745
746
# File 'lib/assert_xpath.rb', line 744

def relevant?
  return ! blank?
end