Class: Lwes::Serialization::AttributeArray
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Lwes::Serialization::AttributeArray
- Defined in:
- lib/lwes/serialization.rb
Instance Method Summary collapse
Instance Method Details
#assign(val) ⇒ Object
171 172 173 174 175 176 177 |
# File 'lib/lwes/serialization.rb', line 171 def assign(val) super self.data = [] value.each do |attribute| self.data << attribute end end |
#get ⇒ Object
179 180 181 |
# File 'lib/lwes/serialization.rb', line 179 def get self.data end |
#set(val) ⇒ Object
183 184 185 186 187 188 |
# File 'lib/lwes/serialization.rb', line 183 def set(val) self.data = [] val.each do |attribute| self.data << attribute end end |