Class: BundleDev::Dsl
- Inherits:
-
Bundler::Dsl
- Object
- Bundler::Dsl
- BundleDev::Dsl
- Defined in:
- lib/bundle_dev/dsl.rb
Instance Method Summary collapse
Instance Method Details
#gem(name, *args) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/bundle_dev/dsl.rb', line 4 def gem(name, *args) = args.last.is_a?(Hash) ? args.pop : {} if [:type] == :development [:type] = :runtime super name, *args, end end |