Module: Ramaze::Gems
- Defined in:
- lib/ramaze/contrib/gems.rb
Defined Under Namespace
Classes: GemStone
Class Method Summary collapse
Class Method Details
.gem(name, version = nil, options = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/ramaze/contrib/gems.rb', line 6 def gem(name, version = nil, = {}) case version when String [:version] = version when Hash .merge!(version) end @gems << GemStone.new(name, ) end |
.setup ⇒ Object
17 18 19 |
# File 'lib/ramaze/contrib/gems.rb', line 17 def setup @gems.each{|gem| gem.setup } end |