Sha256: add719f83977faf11a7288d6ddf832a8e19abefd440616a71304e644052e9b10
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
class SunSign attr_accessor :sign_name, :mood, :compatibility, :color, :lucky_number, :lucky_time, :current_date, :date_range, :description def initialize(name, data) @sign_name = name @mood = data["mood"] @compatibility = data["compatibility"] @color = data["color"] @lucky_number = data["lucky_number"] @lucky_time = data["lucky_time"] @current_date = data["current_date"] @date_range = data["date_range"] @description = data["description"] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aztro_cli-0.1.0 | lib/aztro_cli/sunsign.rb |