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