Sha256: 7f568a4cd2c93f001f0524ba722a04fe84599d53fc13ad540eb52286c8be4741

Contents?: true

Size: 177 Bytes

Versions: 1

Compression:

Stored size: 177 Bytes

Contents

class Author
  attr_accessor :name, :bio

  def initialize(name, bio)
    @name = name
    @bio = bio
  end

  def to_h
    {
      name: name,
      bio: bio
    }
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bokov_library-1.0.0 lib/author.rb