アクセス(サ)メソッド

アクセスメソッドはメソッドの権限を設定できるもの。
attr_reader :(variable name) 参照可能
attr_writer :(variable name) 変更可能
attr_accessor :(variable name) 参照、変更可能

めもめも…と

Comments

Popular posts from this blog

Tizen SDK is a copy of the Android SDK? / Tizen seems to be based on Samsung Linux Platform(SLP)

Goodbye 2016, Hello 2017