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.
5 6 7 8 |
# File 'lib/contrek/finder/list_entry.rb', line 5 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.
4 5 6 |
# File 'lib/contrek/finder/list_entry.rb', line 4 def data_pointer @data_pointer end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/contrek/finder/list_entry.rb', line 4 def name @name end |