Exception: Lunr::AlreadyExecuted
- Defined in:
- lib/lunr/errors.rb
Instance Attribute Summary collapse
-
#search ⇒ Object
readonly
Returns the value of attribute search.
Instance Method Summary collapse
Instance Attribute Details
#search ⇒ Object (readonly)
Returns the value of attribute search.
6 7 8 |
# File 'lib/lunr/errors.rb', line 6 def search @search end |
Instance Method Details
#initalize(search) ⇒ Object
8 9 10 11 |
# File 'lib/lunr/errors.rb', line 8 def initalize search @search = search super "Can't add more criteria, this search has already been executed!" end |