class Array
Public Instance Methods
extract_options!()
click to toggle source
# File lib/riak/core_ext/extract_options.rb, line 3 def extract_options! last.is_a?(::Hash) ? pop : {} end
to_param()
click to toggle source
# File lib/riak/core_ext/to_param.rb, line 14 def to_param map(&:to_param).join('/') end
to_query(key)
click to toggle source
# File lib/riak/core_ext/to_param.rb, line 18 def to_query(key) prefix = "#{key}[]" collect { |value| value.to_query(prefix) }.join '&' end