Class: FlashMessenger::Messages::Persistent

Inherits:
Base
  • Object
show all
Defined in:
lib/flash_messenger/messages/persistent.rb

Instance Attribute Summary

Attributes inherited from Base

#i18n_params, #level, #translation

Instance Method Summary collapse

Methods inherited from Base

#<=>, alert, #alert?, #attributes, #attributes=, class_name, #class_name, #eql?, error, #error?, #from_json, from_session, info, #info?, #initialize, #match?, #message, notice, #notice?, #serializable_hash, #to_s, #to_session

Constructor Details

This class inherits a constructor from FlashMessenger::Messages::Base

Instance Method Details

#persistent?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/flash_messenger/messages/persistent.rb', line 4

def persistent?
  true
end