Method: Inch::Utils::ReadWriteMethods#rw_methods
- Defined in:
- lib/inch/utils/read_write_methods.rb
#rw_methods(*names) ⇒ void
This method returns an undefined value.
Implements multiple read(write) methods with the given names
39 40 41 |
# File 'lib/inch/utils/read_write_methods.rb', line 39 def rw_methods(*names) [names].flatten.each { |name| rw_method(name) } end |