Class: Contrek::Finder::ListEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/contrek/finder/list_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pointerObject (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

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/contrek/finder/list_entry.rb', line 4

def name
  @name
end