You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
516 B
34 lines
516 B
require 'squib/args/arg_loader' |
|
|
|
module Squib |
|
# @api private |
|
module Args |
|
|
|
class Import |
|
include ArgLoader |
|
|
|
def self.parameters |
|
{ strip: true } |
|
end |
|
|
|
def self.expanding_parameters |
|
[] # none of them |
|
end |
|
|
|
def self.params_with_units |
|
[] # none of them |
|
end |
|
|
|
def validate_strip(arg) |
|
raise 'Strip must be true or false' unless arg == true || arg == false |
|
arg |
|
end |
|
|
|
def strip? |
|
strip |
|
end |
|
|
|
end |
|
|
|
end |
|
end |