fork download
  1. module EasyOptions
  2. def self.[](option)
  3. {:foo => 123}[option]
  4. end
  5. end
  6.  
  7. puts EasyOptions[:foo]
Success #stdin #stdout 0.02s 7460KB
stdin
Standard input is empty
stdout
123