Sha256: cd76a046e78212952d55acff531924e1bf7af9ec28dd088fd10903c4e42ab3b9
Contents?: true
Size: 281 Bytes
Versions: 7
Compression:
Stored size: 281 Bytes
Contents
# frozen_string_literal: true class SampleModel def initialize(name: nil, age: nil) @name = name @age = age end def information "#{name}: #{age} yo" end protected attr_reader :name private attr_reader :age end class OtherModel < SampleModel end
Version data entries
7 entries across 7 versions & 1 rubygems