module Shy::DSL
Public Instance Methods
shy(*attribute_names)
click to toggle source
# File lib/shy/dsl.rb, line 3 def shy(*attribute_names) attribute_names.each do |attribute_name| attr_accessor attribute_name private attribute_name, "#{attribute_name}=" end end