Sha256: 69270bce798e1f7e1c272187094fe413122faab3e1fceb2bf3d4f8d3def262ec

Contents?: true

Size: 200 Bytes

Versions: 67

Compression:

Stored size: 200 Bytes

Contents

module Pageflow
  class NullUser
    def full_name
      '-'
    end

    def marked_for_destruction?
      false
    end

    def blank?
      true
    end

    def to_ary
      []
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
pageflow-17.0.4 app/models/pageflow/null_user.rb
pageflow-17.0.3 app/models/pageflow/null_user.rb
pageflow-17.0.2 app/models/pageflow/null_user.rb
pageflow-17.0.1 app/models/pageflow/null_user.rb
pageflow-17.0.0 app/models/pageflow/null_user.rb
pageflow-16.2.0 app/models/pageflow/null_user.rb
pageflow-16.1.0 app/models/pageflow/null_user.rb
pageflow-16.0.0 app/models/pageflow/null_user.rb
pageflow-15.8.0 app/models/pageflow/null_user.rb
pageflow-14.5.2 app/models/pageflow/null_user.rb
pageflow-15.7.1 app/models/pageflow/null_user.rb
pageflow-15.7.0 app/models/pageflow/null_user.rb
pageflow-15.6.1 app/models/pageflow/null_user.rb
pageflow-15.6.0 app/models/pageflow/null_user.rb
pageflow-15.5.0 app/models/pageflow/null_user.rb
pageflow-15.4.0 app/models/pageflow/null_user.rb
pageflow-15.3.0 app/models/pageflow/null_user.rb
pageflow-15.2.2 app/models/pageflow/null_user.rb
pageflow-15.2.1 app/models/pageflow/null_user.rb
pageflow-15.2.0 app/models/pageflow/null_user.rb