Class: MemDB::Idx::Chars
- Inherits:
-
Object
- Object
- MemDB::Idx::Chars
- Includes:
- MemDB::Idx
- Defined in:
- lib/mem_db/idx/chars.rb
Defined Under Namespace
Classes: Chars, ReversedChars
Constant Summary
Constants included from MemDB::Idx
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
Instance Method Summary collapse
-
#initialize(field) ⇒ Chars
constructor
A new instance of Chars.
- #map_query(text) ⇒ Object
- #map_value(raw) ⇒ Object
Methods included from MemDB::Idx
#default, #default_any, #downcase, #prepare_query, #value
Constructor Details
#initialize(field) ⇒ Chars
Returns a new instance of Chars.
72 73 74 |
# File 'lib/mem_db/idx/chars.rb', line 72 def initialize(field) @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
10 11 12 |
# File 'lib/mem_db/idx/chars.rb', line 10 def field @field end |