Class: Saper::Arguments::URL

Inherits:
Saper::Argument show all
Defined in:
lib/saper/arguments/url.rb

Instance Method Summary collapse

Methods inherited from Saper::Argument

[], #action, exists?, inherited, #initialize, #mandatory?, new, #normalize, #optional?, #serialize, #set, subclasses, #to_string, type, #value

Constructor Details

This class inherits a constructor from Saper::Argument

Instance Method Details

#valid?(value) ⇒ Boolean

TODO:

6
7
8
# File 'lib/saper/arguments/url.rb', line 6

def valid?(value)
  value.is_a?(String)
end