Class: Ephem::IO::RecordData
- Inherits:
-
Object
- Object
- Ephem::IO::RecordData
- Defined in:
- lib/ephem/io/record_data.rb
Instance Attribute Summary collapse
-
#backward_record ⇒ Object
readonly
Returns the value of attribute backward_record.
-
#double_count ⇒ Object
readonly
Returns the value of attribute double_count.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#forward_record ⇒ Object
readonly
Returns the value of attribute forward_record.
-
#free_record ⇒ Object
readonly
Returns the value of attribute free_record.
-
#ftpstr ⇒ Object
readonly
Returns the value of attribute ftpstr.
-
#integer_count ⇒ Object
readonly
Returns the value of attribute integer_count.
-
#internal_filename ⇒ Object
readonly
Returns the value of attribute internal_filename.
-
#locator_identifier ⇒ Object
readonly
Returns the value of attribute locator_identifier.
-
#reserved_area_1 ⇒ Object
readonly
Returns the value of attribute reserved_area_1.
-
#reserved_area_2 ⇒ Object
readonly
Returns the value of attribute reserved_area_2.
Instance Method Summary collapse
-
#initialize(*data) ⇒ RecordData
constructor
A new instance of RecordData.
Constructor Details
#initialize(*data) ⇒ RecordData
Returns a new instance of RecordData.
10 11 12 13 14 15 16 17 |
# File 'lib/ephem/io/record_data.rb', line 10 def initialize(*data) @locator_identifier, @double_count, @integer_count, @internal_filename, @forward_record, @backward_record, @free_record, @format, @reserved_area_1, @ftpstr, @reserved_area_2 = data convert_numeric_fields strip_text_fields end |
Instance Attribute Details
#backward_record ⇒ Object (readonly)
Returns the value of attribute backward_record.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def backward_record @backward_record end |
#double_count ⇒ Object (readonly)
Returns the value of attribute double_count.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def double_count @double_count end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def format @format end |
#forward_record ⇒ Object (readonly)
Returns the value of attribute forward_record.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def forward_record @forward_record end |
#free_record ⇒ Object (readonly)
Returns the value of attribute free_record.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def free_record @free_record end |
#ftpstr ⇒ Object (readonly)
Returns the value of attribute ftpstr.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def ftpstr @ftpstr end |
#integer_count ⇒ Object (readonly)
Returns the value of attribute integer_count.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def integer_count @integer_count end |
#internal_filename ⇒ Object (readonly)
Returns the value of attribute internal_filename.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def internal_filename @internal_filename end |
#locator_identifier ⇒ Object (readonly)
Returns the value of attribute locator_identifier.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def locator_identifier @locator_identifier end |
#reserved_area_1 ⇒ Object (readonly)
Returns the value of attribute reserved_area_1.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def reserved_area_1 @reserved_area_1 end |
#reserved_area_2 ⇒ Object (readonly)
Returns the value of attribute reserved_area_2.
6 7 8 |
# File 'lib/ephem/io/record_data.rb', line 6 def reserved_area_2 @reserved_area_2 end |