Method: Forgejo::MarkdownOption#hash

Defined in:
lib/forgejo/models/markdown_option.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



134
135
136
# File 'lib/forgejo/models/markdown_option.rb', line 134

def hash
  [context, mode, text, wiki].hash
end