class Hashie::Mash

def method_suffix(method_name)

def method_suffix(method_name)
  suffixes_regex = ALLOWED_SUFFIXES.join
  match = method_name.to_s.match(/(.*?)([#{suffixes_regex}]?)$/)
  [match[1], match[2]]
end