class SiteHub::Cookie::Flag

Attributes

name[R]

Public Class Methods

new(flag) click to toggle source
# File lib/sitehub/cookie/flag.rb, line 9
def initialize(flag)
  @name = StringUtils.sanitise(flag).to_sym
end

Public Instance Methods

to_s() click to toggle source
# File lib/sitehub/cookie/flag.rb, line 13
def to_s
  name.to_s
end