Class: RTM::AR::Index

Inherits:
Object
  • Object
show all
Defined in:
lib/rtm/activerecord/literal_index.rb

Direct Known Subclasses

LiteralIndex

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tm) ⇒ Index

Returns a new instance of Index.



5
6
7
8
# File 'lib/rtm/activerecord/literal_index.rb', line 5

def initialize(tm)
  @topic_map = tm
  @itopic_map = tm.__getobj__
end

Instance Attribute Details

#itopic_mapObject

the internal AR object



4
5
6
# File 'lib/rtm/activerecord/literal_index.rb', line 4

def itopic_map
  @itopic_map
end

#topic_mapObject

Returns the value of attribute topic_map.



3
4
5
# File 'lib/rtm/activerecord/literal_index.rb', line 3

def topic_map
  @topic_map
end

Instance Method Details

#closeObject



9
10
# File 'lib/rtm/activerecord/literal_index.rb', line 9

def close
end

#isAutoUpdatedObject



11
12
13
# File 'lib/rtm/activerecord/literal_index.rb', line 11

def isAutoUpdated
  true
end

#isOpenObject



14
15
16
# File 'lib/rtm/activerecord/literal_index.rb', line 14

def isOpen
  true
end

#openObject



17
18
# File 'lib/rtm/activerecord/literal_index.rb', line 17

def open
end

#reindexObject



19
20
# File 'lib/rtm/activerecord/literal_index.rb', line 19

def reindex
end