lib/testable/version.rb
# Returns a gem version for a given gem, assuming the gem has
# been loaded.
Returns a gem version for a given gem, assuming the gem has
been loaded.
Returns a gem version for a given gem assuming the gem has been loaded .
def gem_version(name)
    Gem.loaded_specs[name].version
  rescue NoMethodError
    puts "No gem loaded for #{name}."
  end
def gem_version ( name ) Gem . loaded_specs [ name ] . version rescue NoMethodError puts "No gem loaded for #{name}." end
Returns a gem version for a given gem, assuming the gem has
been loaded.
Returns a gem version for a given gem assuming the gem has been loaded .
name
<not_specific>