/ Published in: Ruby
class
Expand |
Embed | Plain Text
class Inventor attr_accessor :fname, :lname, :city, :state, :country def initialize(fname, lname, city, state, country) @fname=fname @lname=lname @city=city @state=state @country=country end end
You need to login to post a comment.
