Class: Array
Public Visibility
Public Class Method Summary
aqua_init(init) |
---|
Public Instance Method Summary
#to_aqua_init(base_object) |
---|
Public Class Method Details
aqua_init
public
aqua_init(init)
[View source]
121 122 123 |
# File 'lib/aqua/support/initializers.rb', line 121 def self.aqua_init( init ) new.replace( init ) end |
Public Instance Method Details
to_aqua_init
public
to_aqua_init(base_object)
[View source]
113 114 115 116 117 118 119 |
# File 'lib/aqua/support/initializers.rb', line 113 def to_aqua_init( base_object ) return_arr = [] self.each do |obj| return_arr << base_object._pack_object( obj ) end return_arr end |