Advertisement
Guest User

Untitled

a guest
Nov 29th, 2011
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. opts.on('-t', '--tableid', 'The user table id which will be used to store all his data in the database') do |x|
  2. options[:tableid] = x
  3. end
  4.  
  5.  
  6. # problem is that: options[:tableid] returns 'true' instead of 'x'
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement