lib/lorj_meta.rb
# Implement a section detection in a symbol/string
# Help each auto_* functions to work without update.
#
Implement a section detection in a symbol/string
Help each auto_* functions to work without update.
Implement a section detection in a symbol / string Help each auto_ * functions to work without update .
def _detect_section(key, default_section)
      m = key.to_s.match(/^(.*)#(.*)$/)
      return [m[1].to_sym, m[2].to_sym] if m && m[1] != '' && m[2] != ''
      [default_section, key]
    end
def _detect_section ( key , default_section ) m = key . to_s . match ( / ^(.*)#(.*)$ / ) return [ m [ 1 ] . to_sym , m [ 2 ] . to_sym ] if m && m [ 1 ] != '' && m [ 2 ] != '' [ default_section , key ] end
Implement a section detection in a symbol/string
Help each auto_* functions to work without update.
Implement a section detection in a symbol / string Help each auto_ * functions to work without update .
key
<not_specific>
default_section
<not_specific>