Method: LibGems::Specification#full_name

Defined in:
lib/libgems/specification.rb

#full_nameObject

Returns the full name (name-version) of this LibGems. Platform information is included (name-version-platform) if it is specified and not the default Ruby platform.



575
576
577
578
579
580
581
# File 'lib/libgems/specification.rb', line 575

def full_name
  if platform == LibGems::Platform::RUBY or platform.nil? then
    "#{@name}-#{@version}"
  else
    "#{@name}-#{@version}-#{platform}"
  end
end