Module: Bobkit::ScopeOptions
- Includes:
- OptionsBase
- Included in:
- Bobkit::SlimBridge::SlimHandler, Tasks
- Defined in:
- lib/bobkit/scope_options.rb
Instance Method Summary collapse
Methods included from OptionsBase
#options, #setopt, #use_defaults
Instance Method Details
#scope(scope = nil) ⇒ Object
5 6 7 |
# File 'lib/bobkit/scope_options.rb', line 5 def scope(scope=nil) scope ? setopt(:scope, Scope.new(scope)) : [:scope] end |