module Clamp

Constants

TRUTHY_VALUES
VERSION

Attributes

allow_options_after_parameters[RW]

Public Class Methods

truthy?(arg) click to toggle source
# File lib/clamp/truthy.rb, line 5
def self.truthy?(arg)
  TRUTHY_VALUES.include?(arg.to_s.downcase)
end