Module: AliyunSDK::Common::Struct::Base::AttrHelper

Included in:
AliyunSDK::Common::Struct::Base
Defined in:
lib/aliyun_sdk/common/struct.rb

Instance Method Summary collapse

Instance Method Details

#attrs(*s) ⇒ Object



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

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