how to attribute a type of Time on a attr_accessor in ruby code example
Example: attr_accessor ruby
class Food
attr_accessor :protein
def initialize(protein)
@protein = protein
end
end
class Food
attr_accessor :protein
def initialize(protein)
@protein = protein
end
end