Class: GemfileBox
- Inherits:
-
Object
- Object
- GemfileBox
- Defined in:
- lib/workpile/workpile_rspec.rb
Class Method Summary collapse
- .gem(name, *hash) ⇒ Object
- .gemspec(*a) ⇒ Object
- .group(sym, &block) ⇒ Object
- .source(*arg) ⇒ Object
Class Method Details
.gem(name, *hash) ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/workpile/workpile_rspec.rb', line 16 def gem(name, *hash) if hash[0] and hash[0][:require] require hash[0][:require] else require name end rescue LoadError nil end |
.gemspec(*a) ⇒ Object
28 29 |
# File 'lib/workpile/workpile_rspec.rb', line 28 def gemspec(*a) end |
.group(sym, &block) ⇒ Object
25 26 27 |
# File 'lib/workpile/workpile_rspec.rb', line 25 def group(sym, &block) block.call end |
.source(*arg) ⇒ Object
14 15 |
# File 'lib/workpile/workpile_rspec.rb', line 14 def source(*arg) end |