Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/eedb/ext.rb
Instance Method Summary collapse
Instance Method Details
#to_mysql_options ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/eedb/ext.rb', line 2 def collect do |k, v| unless v.empty? "--#{k}=\"#{v}\"" else nil end end.reject { |a| a.nil? }.join(" ") end |