Module: UserNotif

Defined in:
lib/user_notif.rb,
lib/user_notif/notif.rb,
lib/user_notif/railtie.rb,
lib/user_notif/version.rb,
lib/user_notif/notif_mailer.rb,
lib/user_notif/view_helpers.rb,
lib/generators/user_notif/install_generator.rb,
lib/generators/user_notif/install_templates/notifs_controller.rb

Defined Under Namespace

Modules: ViewHelpers Classes: InstallGenerator, Notif, NotifMailer, NotifsController, Railtie

Constant Summary collapse

VERSION =
'0.1.13.3'.freeze
@@mailer_sender =
'[email protected]'
@@app_name =
'My App'

Class Method Summary collapse

Class Method Details

.rootObject



13
14
15
# File 'lib/user_notif.rb', line 13

def self.root
  File.dirname __dir__
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (UserNotif)

    the object that the method was called on



9
10
11
# File 'lib/user_notif.rb', line 9

def self.setup
  yield self
end