Sha256: 0bcff78093fb08bc924b1483a50f297dfc98b579c2c9e239e50f61829df83184
Contents?: true
Size: 611 Bytes
Versions: 4
Compression:
Stored size: 611 Bytes
Contents
module InfinumSetup module Program class Script < Base def valid_keys super + [:script, :custom_install_question] end def command script end def script settings['script'] end def custom_install_question settings['custom_install_question'] end def install_question [name, custom_install_question ? custom_install_question : "Install #{name}"].join(' -- ') end def prompt_installing prompt.ok "#{name} -- #{custom_install_question ? 'Running' : 'Installing'}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems