Class: RTM::AR::Index
- Inherits:
-
Object
- Object
- RTM::AR::Index
- Defined in:
- lib/rtm/activerecord/literal_index.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#itopic_map ⇒ Object
the internal AR object.
-
#topic_map ⇒ Object
Returns the value of attribute topic_map.
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(tm) ⇒ Index
constructor
A new instance of Index.
- #isAutoUpdated ⇒ Object
- #isOpen ⇒ Object
- #open ⇒ Object
- #reindex ⇒ Object
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_map ⇒ Object
the internal AR object
4 5 6 |
# File 'lib/rtm/activerecord/literal_index.rb', line 4 def itopic_map @itopic_map end |
#topic_map ⇒ Object
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
#close ⇒ Object
9 10 |
# File 'lib/rtm/activerecord/literal_index.rb', line 9 def close end |
#isAutoUpdated ⇒ Object
11 12 13 |
# File 'lib/rtm/activerecord/literal_index.rb', line 11 def isAutoUpdated true end |
#isOpen ⇒ Object
14 15 16 |
# File 'lib/rtm/activerecord/literal_index.rb', line 14 def isOpen true end |
#open ⇒ Object
17 18 |
# File 'lib/rtm/activerecord/literal_index.rb', line 17 def open end |
#reindex ⇒ Object
19 20 |
# File 'lib/rtm/activerecord/literal_index.rb', line 19 def reindex end |