Class: Integral::UserDecorator

Inherits:
BaseDecorator show all
Defined in:
app/decorators/integral/user_decorator.rb

Overview

User view-level logic

Instance Method Summary collapse

Methods inherited from BaseDecorator

#activity_url, #backend_url

Instance Method Details

#titleString

Returns formatted title.

Returns:

  • (String)

    formatted title



5
6
7
# File 'app/decorators/integral/user_decorator.rb', line 5

def title
  object.name
end