Sha256: 6d192893befa0a54e4c12abcd2cf2199c8b684027c5e8857f8aa64ee1ffc95d2

Contents?: true

Size: 49 Bytes

Versions: 27

Compression:

Stored size: 49 Bytes

Contents

nums = [3, 1, 4, 1, 5]

print nums[ARGV[0].to_i]

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby_learner-1.2.9 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.8 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.7 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.6 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.5 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.4 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.3 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.2 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.1 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.2.0 contents/takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.15 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.14 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.13 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.11 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.10 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.9 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.8 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.7 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.6 takahashi/sample_prog/answer/6_1.rb
ruby_learner-1.1.5 takahashi/sample_prog/answer/6_1.rb