Module: Bobkit::ScopeOptions
Instance Method Summary collapse
Methods included from OptionsBase
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 |