<type-name>

Renders a human readable version of the type of the context

Details

  • If this is already a class, the name of that class is used
  • Otherwise, first this.member_class (for collections), then this.class are tried
  • By default the name is titleised and singular.

Attributes

  • plural: pluralise the name
  • lowercase: render the name in all lower case
  • dasherize: render the name in lower case with dashes instead of spaces.

Show Source


Edit this page