# getset(computed property)

# Ruby

attr_accessor :name

# Swift

var name: String { get { return this.mName } set(name) { this.mName = name } }

[ 📩 ご意見 ]