Module: InfinityTest::BinaryPath::ClassMethods
- Defined in:
- lib/infinity_test/binary_path.rb
Instance Method Summary collapse
-
#binary(binary_name, options = {}) ⇒ Object
Set the binary to search in the RVM binary folder.
Instance Method Details
#binary(binary_name, options = {}) ⇒ Object
Set the binary to search in the RVM binary folder
binary :bundle
31 32 33 34 35 36 37 38 |
# File 'lib/infinity_test/binary_path.rb', line 31 def binary(binary_name, ={}) method_sufix = [:name] || binary_name eval <<-EVAL def search_#{method_sufix}(environment) search_binary('#{binary_name}', :environment => environment) end EVAL end |