Module: Maeku
- Defined in:
- lib/maeku.rb,
lib/maeku/engine.rb,
lib/maeku/version.rb,
app/models/maeku/entry.rb,
app/jobs/maeku/application_job.rb,
app/models/maeku/application_record.rb,
app/mailers/maeku/application_mailer.rb,
app/controllers/maeku/entries_controller.rb,
app/models/concerns/maeku/author_methods.rb,
app/controllers/maeku/application_controller.rb
Defined Under Namespace
Modules: AuthorMethods
Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Engine, EntriesController, Entry
Constant Summary
collapse
- VERSION =
'0.1.0'
Class Method Summary
collapse
Class Method Details
.author_class ⇒ Object
7
8
9
|
# File 'lib/maeku.rb', line 7
def self.author_class
@@author_class.to_s.constantize
end
|
.current_author ⇒ Object
11
12
13
|
# File 'lib/maeku.rb', line 11
def self.current_author
@@current_author.to_s.constantize
end
|