Module: Nearline::Utilities
- Defined in:
- lib/nearline/module_methods.rb
Class Method Summary collapse
Class Method Details
.string_to_array(x) ⇒ Object
107 108 109 110 111 112 |
# File 'lib/nearline/module_methods.rb', line 107 def self.string_to_array(x) if x.is_a? String return [x] end x end |