Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby attr_accessor multiple variables

class Animals
  attr_accessor :name, :color, :age 
end
 
PREVIOUS NEXT
Tagged: #ruby #multiple #variables
ADD COMMENT
Topic
Name
4+9 =