Sha256: faa311bfd4414b6672e490b127603ee2ffe8ab142d8b456170306970f690a3c7
Contents?: true
Size: 375 Bytes
Versions: 5
Compression:
Stored size: 375 Bytes
Contents
require 'ns-options/boolean' module App # mixin on just the top-level NsOptions variant include NsOptions options(:settings, "settings:app") do option :root, Pathname option :stage option :logger, Logger option :self_stage, :default => Proc.new { self.stage } namespace :sub do option :run_commands, NsOptions::Boolean end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ns-options-0.4.1 | test/support/app.rb |
ns-options-0.4.0 | test/support/app.rb |
ns-options-0.3.1 | test/support/app.rb |
ns-options-0.3.0 | test/support/app.rb |
ns-options-0.2.0 | test/support/app.rb |