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



769
770
771
# File 'lib/assert_xpath.rb', line 769

def relevance
  return to_s  if relevant?
end

#relevant?Boolean

Returns:

  • (Boolean)


765
766
767
# File 'lib/assert_xpath.rb', line 765

def relevant?
  return ! blank?
end