Method: Pry::Slop#description
- Defined in:
- lib/pry/slop.rb
#description(desc = nil) ⇒ Object
Get or set the description (used for commands).
desc - The String to set the description.
Returns the description String.
185 186 187 188 |
# File 'lib/pry/slop.rb', line 185 def description(desc = nil) config[:description] = desc if desc config[:description] end |