Module: ActiveModel::Translation

Defined in:
lib/solargraph/rails/annotations/active_model.rb

Instance Method Summary collapse

Instance Method Details

#human_attribute_name(attribute, options = {}) ⇒ String

Parameters:

  • options (Hash) (defaults to: {})

    options to customize the output

  • attribute (Symbol, String)

    the name of the attribute

Returns:

  • (String)


6
# File 'lib/solargraph/rails/annotations/active_model.rb', line 6

def human_attribute_name(attribute, options = {}); end