class Elastictastic::Index

Attributes

name[R]

Public Class Methods

default() click to toggle source
# File lib/elastictastic/index.rb, line 4
def default
  new(Elastictastic.config.default_index)
end
new(name) click to toggle source
# File lib/elastictastic/index.rb, line 11
def initialize(name)
  @name = name
end

Public Instance Methods

==(other) click to toggle source
# File lib/elastictastic/index.rb, line 19
def ==(other)
  name == other.name
end
to_s() click to toggle source
# File lib/elastictastic/index.rb, line 15
def to_s
  @name
end