Class: Ibex::ErrorMessages::SentenceSearch::Witness

Inherits:
Struct
  • Object
show all
Defined in:
lib/ibex/error_messages/sentence_search.rb,
sig/ibex/error_messages/sentence_search.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#entryObject

Returns the value of attribute entry

Returns:

  • (Object)

    the current value of entry



13
14
15
# File 'lib/ibex/error_messages/sentence_search.rb', line 13

def entry
  @entry
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



13
14
15
# File 'lib/ibex/error_messages/sentence_search.rb', line 13

def state
  @state
end

#tokensObject

Returns the value of attribute tokens

Returns:

  • (Object)

    the current value of tokens



13
14
15
# File 'lib/ibex/error_messages/sentence_search.rb', line 13

def tokens
  @tokens
end

Class Method Details

.new(entry:, tokens:, state:) ⇒ instance .new(arg0) ⇒ instance

Overloads:

  • .new(entry:, tokens:, state:) ⇒ instance

    Parameters:

    • entry: (String)
    • tokens: (Array[String])
    • state: (Integer)

    Returns:

    • (instance)
  • .new(arg0) ⇒ instance

    Parameters:

    • arg0 ({ ?entry: String, ?tokens: Array[String], ?state: Integer })

    Returns:

    • (instance)


19
20
# File 'sig/ibex/error_messages/sentence_search.rbs', line 19

def self.new: (?entry: String, ?tokens: Array[String], ?state: Integer) -> instance
| ({ ?entry: String, ?tokens: Array[String], ?state: Integer }) -> instance