Class: Astromapper::Astro::Volume

Inherits:
Object
  • Object
show all
Defined in:
lib/astromapper/astro/volume.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ascii) ⇒ Volume

Returns a new instance of Volume.



5
6
7
8
9
10
# File 'lib/astromapper/astro/volume.rb', line 5

def initialize(ascii)
	@ascii = ascii.join("")
	@summary = ascii[0]
	bits = @summary.split("\t")
	raise bits.inspect
end

Instance Attribute Details

#asciiObject

Returns the value of attribute ascii.



4
5
6
# File 'lib/astromapper/astro/volume.rb', line 4

def ascii
  @ascii
end

#summaryObject

Returns the value of attribute summary.



4
5
6
# File 'lib/astromapper/astro/volume.rb', line 4

def summary
  @summary
end