# File src/field.rb, line 100 def attribute(attribute) case attribute when :public, :protected, :private, :others, :secret @attribute = attribute else raise end end