module Ripl::Profiles::Runner
Public Instance Methods
parse_option( option, argv )
click to toggle source
add command line option
Calls superclass method
# File lib/ripl/profiles.rb, line 59 def parse_option( option, argv ) if option =~ /(?:-p|--profile)=?(.*)/ Ripl::Profiles.load( ($1.empty? ? argv.shift.to_s : $1).split(':') ) else super end end