Module: Dentaku::StringCasing

Included in:
AST::Identifier, Calculator, TokenScanner
Defined in:
lib/dentaku/string_casing.rb

Instance Method Summary collapse

Instance Method Details

#standardize_case(value) ⇒ Object



3
4
5
# File 'lib/dentaku/string_casing.rb', line 3

def standardize_case(value)
  case_sensitive ? value : value.downcase
end