Class: Contrek::Finder::ListEntry
- Inherits:
-
Object
- Object
- Contrek::Finder::ListEntry
- Defined in:
- lib/contrek/finder/list_entry.rb
Instance Attribute Summary collapse
-
#data_pointer ⇒ Object
readonly
Returns the value of attribute data_pointer.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(lists, name) ⇒ ListEntry
constructor
A new instance of ListEntry.
Constructor Details
#initialize(lists, name) ⇒ ListEntry
Returns a new instance of ListEntry.
7 8 9 10 |
# File 'lib/contrek/finder/list_entry.rb', line 7 def initialize(lists, name) @data_pointer = lists.get_data_pointer @name = name end |
Instance Attribute Details
#data_pointer ⇒ Object (readonly)
Returns the value of attribute data_pointer.
6 7 8 |
# File 'lib/contrek/finder/list_entry.rb', line 6 def data_pointer @data_pointer end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/contrek/finder/list_entry.rb', line 6 def name @name end |