Class: Atmospheric::Export::HypsometricalTables::TableBase
- Inherits:
-
Object
- Object
- Atmospheric::Export::HypsometricalTables::TableBase
show all
- Includes:
- Target
- Defined in:
- lib/atmospheric/export/hypsometrical_tables.rb
Instance Method Summary
collapse
Methods included from Target
#ft_to_m, #m_to_ft, #round_to_sig_figs, #to_file, #to_yaml
Instance Method Details
#row(p) ⇒ Object
22
23
24
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 22
def row(p)
{}
end
|
#steps ⇒ Object
18
19
20
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 18
def steps
(0..0)
end
|
#to_h ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/atmospheric/export/hypsometrical_tables.rb', line 10
def to_h
d = { "rows" => [] }
steps.each do |p|
d["rows"] << row(p)
end
d
end
|