module TryingModels::ActsAsTryableConcern

Public Instance Methods

default_author() click to toggle source
# File lib/trying_models/acts_as_tryable_concern.rb, line 10
def default_author
  "admin"
end
name_uppercase() click to toggle source

define instance methods, The Target included this module, so we get instance_methods in Target class

# File lib/trying_models/acts_as_tryable_concern.rb, line 16
def name_uppercase
  name.upcase
end