Module: Tarantool::Util::Array
- Included in:
- SpaceArray
- Defined in:
- lib/tarantool/util.rb
Instance Method Summary collapse
Instance Method Details
#frozen_array(obj) ⇒ Object
50 51 52 |
# File 'lib/tarantool/util.rb', line 50 def frozen_array(obj) (Array === obj ? obj.dup : [*obj]).freeze end |