Class: LetsencryptWebfaction::ArgsParser::Field::IntegerField

Inherits:
LetsencryptWebfaction::ArgsParser::Field show all
Defined in:
lib/letsencrypt_webfaction/args_parser/field.rb

Instance Attribute Summary

Attributes inherited from LetsencryptWebfaction::ArgsParser::Field

#description, #identifier, #validators

Instance Method Summary collapse

Methods inherited from LetsencryptWebfaction::ArgsParser::Field

#initialize, #valid?, #value?

Constructor Details

This class inherits a constructor from LetsencryptWebfaction::ArgsParser::Field

Instance Method Details

#sanitize(val) ⇒ Object



25
26
27
# File 'lib/letsencrypt_webfaction/args_parser/field.rb', line 25

def sanitize(val)
  val.to_i
end