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



723
724
725
# File 'lib/assert_xpath.rb', line 723

def relevance
  return to_s  if relevant?
end

#relevant?Boolean

Returns:

  • (Boolean)


719
720
721
# File 'lib/assert_xpath.rb', line 719

def relevant?
  return ! blank?
end