Class: GreenPepper::CheckKeyword

Inherits:
FreeTextKeyword show all
Defined in:
lib/greenpepper/freetext.rb

Instance Attribute Summary

Attributes inherited from FreeTextKeyword

#block, #regex, #result

Instance Method Summary collapse

Methods inherited from FreeTextKeyword

#args, #initialize, #match?

Constructor Details

This class inherits a constructor from GreenPepper::FreeTextKeyword

Instance Method Details

#get_resultObject



136
137
138
# File 'lib/greenpepper/freetext.rb', line 136

def get_result
  @result == true ? CheckSuccess.new : CheckFailure.new
end