Method: Which.options

Defined in:
lib/which_works.rb

.optionsObject

Returns the default options for #which. The returned hash can be modified directly.

Examples

Which.options                 #=> {}
Which.options = { :all => true }
Which.options                 #=> { :all => true }
Which.options[:array] = true  #=> { :all => true, :array => true }


77
78
79
# File 'lib/which_works.rb', line 77

def self.options
  @@options
end