Class: Pageflow::NullUser

Inherits:
Object
  • Object
show all
Defined in:
app/models/pageflow/null_user.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'app/models/pageflow/null_user.rb', line 11

def blank?
  true
end

#full_nameObject


3
4
5
# File 'app/models/pageflow/null_user.rb', line 3

def full_name
  '-'
end

#marked_for_destruction?Boolean

Returns:

  • (Boolean)

7
8
9
# File 'app/models/pageflow/null_user.rb', line 7

def marked_for_destruction?
  false
end