Sha256: 570ba47eafe9646ae9d8f797cb0d6a71436f4bd34dbfd0bb3a82563e48fa3065
Contents?: true
Size: 1.48 KB
Versions: 13
Compression:
Stored size: 1.48 KB
Contents
class Star < GlowingGasBall extend NinthBit::PirateShip::ActMethods has_csv_pirate_ship :booty => [ :name, :distance, :spectral_type, {:name => :hash}, {:name => :next}, {:name => :upcase}, :star_vowels ], :spyglasses => [:get_stars], :chart => ["spec","csv","Star"], :chronometer => false, :gibbet => "", :aft => ".csv", :swab => :none, :mop => :clean, :waggoner => 'data' def self.get_stars [ Star.new(:name => "Proxima Centauri", :distance => "4.2 LY", :spectral_type => "M5.5Vc"), Star.new(:name => "Rigil Kentaurus", :distance => "4.3 LY", :spectral_type => "G2V"), Star.new(:name => "Barnard's Star", :distance => "5.9 LY", :spectral_type => "M3.8V"), Star.new(:name => "Wolf 359", :distance => "7.7 LY", :spectral_type => "M5.8Vc"), Star.new(:name => "Lalande 21185", :distance => "8.26 LY", :spectral_type => "M2V"), Star.new(:name => "Luyten 726-8A and B", :distance => "8.73 LY", :spectral_type => "M5.5 de & M6 Ve"), Star.new(:name => "Sirius A and B", :distance => "8.6 LY", :spectral_type => "A1Vm"), Star.new(:name => "Ross 154", :distance => "9.693 LY", :spectral_type => "M3.5"), Star.new(:name => "Ross 248", :distance => "10.32 LY", :spectral_type => "M5.5V"), Star.new(:name => "Epsilon Eridani", :distance => "10.5 LY", :spectral_type => "K2V") ] end end
Version data entries
13 entries across 13 versions & 1 rubygems