Module: Gem
- Included in:
- Eo
- Defined in:
- lib/eo/gem.rb
Instance Method Summary collapse
Instance Method Details
#gemopen(args) ⇒ Object
7 8 9 10 |
# File 'lib/eo/gem.rb', line 7 def gemopen(args) path = gempick(args) system([Eo::Config['open'],path].join(' ')) if path end |
#gemshell(args) ⇒ Object
12 13 14 15 |
# File 'lib/eo/gem.rb', line 12 def gemshell(args) path = gempick(args) system("cd #{path} && #{Eo::Config['shell']}") if path end |
#gemshow(args) ⇒ Object
2 3 4 5 |
# File 'lib/eo/gem.rb', line 2 def gemshow(args) gems = scangem(args) format_display(gems) if gems end |