module Symbiont::Ready::ClassMethods
Public Instance Methods
_ready_validations()
click to toggle source
# File lib/symbiont/ready.rb, line 18 def _ready_validations @_ready_validations ||= [] end
page_ready(&block)
click to toggle source
# File lib/symbiont/ready.rb, line 12 def page_ready(&block) _ready_validations << block end
Also aliased as: page_ready_when
ready_validations()
click to toggle source
# File lib/symbiont/ready.rb, line 4 def ready_validations if superclass.respond_to?(:ready_validations) superclass.ready_validations + _ready_validations else _ready_validations end end