Class: Slop::OutOption

Inherits:
Option
  • Object
show all
Defined in:
lib/portfinder/option.rb

Overview

Slop parser for File path

Instance Method Summary collapse

Instance Method Details

#call(value) ⇒ Object



19
20
21
# File 'lib/portfinder/option.rb', line 19

def call value
  File.basename value
end