Method: Beaker::DSL::InstallUtils#split_author_modulename
- Defined in:
- lib/beaker/dsl/install_utils.rb
#split_author_modulename(author_module_attr) ⇒ Hash<Symbol,String>?
Split the Author-Name into a hash
1551 1552 1553 1554 1555 1556 1557 1558 |
# File 'lib/beaker/dsl/install_utils.rb', line 1551 def () result = /(\w+)-(\w+)/.match() if result {:author => result[1], :module => result[2]} else nil end end |