File: actor.rb

package info (click to toggle)
ruby-grit 2.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 336 kB
  • sloc: ruby: 3,643; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Grit
  class Actor

    alias_method :old_name, :name
    alias_method :old_email, :email

    def name
      GritExt.encode! old_name
    end

    def email
      GritExt.encode! old_email
    end
  end
end