Module: Aliyun::Common::Struct::Base::AttrHelper

Included in:
Aliyun::Common::Struct::Base
Defined in:
lib/aliyun/common/struct.rb

Instance Method Summary collapse

Instance Method Details

#attrs(*s) ⇒ Object


26
27
28
29
# File 'lib/aliyun/common/struct.rb', line 26

def attrs(*s)
  define_method(:attrs) {s}
  attr_reader(*s)
end