Class: Groonga::Index
- Inherits:
-
Object
- Object
- Groonga::Index
- Defined in:
- lib/groonga/index.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
Instance Method Summary collapse
-
#==(other) ⇒ Object
-
#initialize(column, section) ⇒ Index
constructor
A new instance of Index.
Constructor Details
#initialize(column, section) ⇒ Index
Returns a new instance of Index.
21 22 23 24 |
# File 'lib/groonga/index.rb', line 21 def initialize(column, section) @column = column @section = section end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
18 19 20 |
# File 'lib/groonga/index.rb', line 18 def column @column end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
19 20 21 |
# File 'lib/groonga/index.rb', line 19 def section @section end |
Instance Method Details
#==(other) ⇒ Object
26 27 28 29 30 |
# File 'lib/groonga/index.rb', line 26 def ==(other) other.is_a?(self.class) and @column == other.column and @section == other.section end |