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