class PartialLogging::Configuration
Attributes
absolute_path[W]
Public Instance Methods
absolute_path(show_full_path=nil)
click to toggle source
If true, render the absolute path to the partial, otherwise render ‘(app root)/app/views/chill/_sauce.html.erb’
# File lib/partial_logging/configuration.rb, line 15 def absolute_path(show_full_path=nil) if show_full_path.nil? @absolute_path else self.absolute_path = show_full_path end end
absolute_path?()
click to toggle source
# File lib/partial_logging/configuration.rb, line 23 def absolute_path? !!absolute_path end
log_partials(&block)
click to toggle source
# File lib/partial_logging/configuration.rb, line 5 def log_partials(&block) @log_partials = block end
log_partials?()
click to toggle source
# File lib/partial_logging/configuration.rb, line 9 def log_partials? @log_partials && @log_partials.call end