Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/extensions/token_ext.rb,
lib/extensions/options_helper.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#options_helper(options, arry) ⇒ String
Object#options_helper -> String.
-
#token_ext(token) ⇒ String
Object#token_ext -> String.
Instance Method Details
#options_helper(options, arry) ⇒ String
Object#options_helper -> String
9 10 11 12 13 14 15 16 |
# File 'lib/extensions/options_helper.rb', line 9 def (, arry) params = "" opt = arry .each_key do |k, v| params.insert(params.length, "&#{k}=#{v}") if opt.include? k end params end |