Class: Exlibris::Aleph::Table::Reader::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/exlibris/aleph/table/reader/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(admin_library, filename) ⇒ Base

Returns a new instance of Base.



8
9
10
11
# File 'lib/exlibris/aleph/table/reader/base.rb', line 8

def initialize(admin_library, filename)
  @admin_library = admin_library
  @filename = filename
end

Instance Attribute Details

#admin_libraryObject (readonly)

Returns the value of attribute admin_library.



6
7
8
# File 'lib/exlibris/aleph/table/reader/base.rb', line 6

def admin_library
  @admin_library
end

#filenameObject (readonly)

Returns the value of attribute filename.



6
7
8
# File 'lib/exlibris/aleph/table/reader/base.rb', line 6

def filename
  @filename
end

Instance Method Details

#allObject

Raises:

  • (RuntimeError)


13
14
15
# File 'lib/exlibris/aleph/table/reader/base.rb', line 13

def all
  raise RuntimeError.new('Should be implmented in sub classes')
end