Module: Card::Director::Store

Included in:
Card::Director
Defined in:
lib/card/director/store.rb

Overview

Special handling specific to the :store stage

Instance Method Summary collapse

Instance Method Details

#after_store(&block) ⇒ Object



5
6
7
8
# File 'lib/card/director/store.rb', line 5

def after_store &block
  @after_store ||= []
  @after_store << block
end

#after_store?Boolean

protected

Returns:

  • (Boolean)


12
13
14
# File 'lib/card/director/store.rb', line 12

def after_store?
  @after_store.present?
end