class Autodoc::Configuration
Public Class Methods
Source
# File lib/autodoc/configuration.rb, line 5 def property(name, &default) define_method(name) do if instance_variable_defined?("@#{name}") instance_variable_get("@#{name}") else instance_variable_set("@#{name}", instance_exec(&default)) end end attr_writer name end
Public Instance Methods
Source
# File lib/autodoc/configuration.rb, line 53 def pathname Pathname.new(Shellwords.shellescape(path)) end