Sha256: a0b141b93c786a68f4f94378a2a31da50ffcf8531caff27cb8d0f2da22ecd7dc

Contents?: true

Size: 880 Bytes

Versions: 18

Compression:

Stored size: 880 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; module Type; module Session; extend Card::Set
# ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/05_standard/set/type/session.rb ~~~~~~~~~~~
include Pointer

def history?
  false
end

def followable?
  false
end

event :store_in_session, before: :approve, on: :save, changed: :content do
  Env.session[key] = db_content
  self.db_content = ''
end

event :delete_in_session, after: :approve, on: :delete do
  Env.session[key] = nil
  abort :success
end

def content
  Env.session[key]
end

format do
  include Pointer::Format
end

format :html do
  include Pointer::HtmlFormat

  def default_core_args args
    args[:item] = :name
  end
end



# ~~~~~~~~~~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/05_standard/set/type/session.rb ~~~~~~~~~~~
end;end;end;end;

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
card-1.18.6 tmpsets/set/mod007-05_standard/type/session.rb
card-1.18.5 tmpsets/set/mod007-05_standard/type/session.rb
card-1.18.4 tmpsets/set/mod007-05_standard/type/session.rb
card-1.18.3 tmpsets/set/mod007-05_standard/type/session.rb
card-1.18.2 tmpsets/set/mod007-05_standard/type/session.rb
card-1.18.1 tmpsets/set/mod007-05_standard/type/session.rb
card-1.18.0 tmpsets/set/mod007-05_standard/type/session.rb
card-1.17.4 tmpsets/set/mod007-05_standard/type/session.rb
card-1.17.3 tmpsets/set/mod007-05_standard/type/session.rb
card-1.17.2 tmpsets/set/mod007-05_standard/type/session.rb
card-1.17.1 tmpsets/set/mod007-05_standard/type/session.rb
card-1.17.0 tmpsets/set/mod007-05_standard/type/session.rb
card-1.16.15 tmpsets/set/mod007-05_standard/type/session.rb
card-1.16.14 tmpsets/set/mod007-05_standard/type/session.rb
card-1.16.13 tmpsets/set/mod007-05_standard/type/session.rb
card-1.16.12 tmpsets/set/mod007-05_standard/type/session.rb
card-1.16.11 tmpsets/set/mod007-05_standard/type/session.rb
card-1.16.10 tmpsets/set/mod007-05_standard/type/session.rb