Class: Astromapper::Astro::Volume
- Inherits:
-
Object
- Object
- Astromapper::Astro::Volume
- Defined in:
- lib/astromapper/astro/volume.rb
Instance Attribute Summary collapse
-
#ascii ⇒ Object
Returns the value of attribute ascii.
-
#summary ⇒ Object
Returns the value of attribute summary.
Instance Method Summary collapse
-
#initialize(ascii) ⇒ Volume
constructor
A new instance of Volume.
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
#ascii ⇒ Object
Returns the value of attribute ascii.
4 5 6 |
# File 'lib/astromapper/astro/volume.rb', line 4 def ascii @ascii end |
#summary ⇒ Object
Returns the value of attribute summary.
4 5 6 |
# File 'lib/astromapper/astro/volume.rb', line 4 def summary @summary end |