method
spec_summary
v2_5_5 -
Show latest stable
- Class:
Gem::Commands::QueryCommand
spec_summary(entry, spec)private
No documentation available.
# File lib/rubygems/commands/query_command.rb, line 354
def spec_summary entry, spec
summary = truncate_text(spec.summary, "the summary for #{spec.full_name}")
entry << "\n\n" << format_text(summary, 68, 4)
end