Class: Hash
Instance Method Summary collapse
Instance Method Details
#ids_selection ⇒ Object
19 20 21 |
# File 'lib/marso/launcher.rb', line 19 def ids_selection self[:select].nil? ? [] : self[:select].is_a?(Array) ? self[:select] : [self[:select]] end |
#include_mode ⇒ Object
11 12 13 |
# File 'lib/marso/launcher.rb', line 11 def include_mode self[:include_mode].nil? ? :none : self[:include_mode] end |
#rootpath ⇒ Object
15 16 17 |
# File 'lib/marso/launcher.rb', line 15 def rootpath (self[:rootpath].nil? || self[:rootpath].empty?) ? Dir.pwd : self[:rootpath] end |