Method: RJGit::Configuration#is_bool?

Defined in:
lib/config.rb

#is_bool?(str) ⇒ Boolean

Returns:

  • (Boolean)


56
57
58
59
# File 'lib/config.rb', line 56

def is_bool?(str)
  str = str.strip
  str == 'true' || str == 'false'
end