about summary refs log tree commit homepage
path: root/lib/yahns/config.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-10-13 21:13:38 +0000
committerEric Wong <e@80x24.org>2015-10-13 21:13:38 +0000
commit5e1450c9d9c5611752c9729954e3108c3565d3b0 (patch)
tree4c42cb74e1688bb0169529e0807f39ee3c740a60 /lib/yahns/config.rb
parentb97be813facc3a763424362ebf6e4c47a8579362 (diff)
downloadyahns-5e1450c9d9c5611752c9729954e3108c3565d3b0.tar.gz
Clarify APP_CONFIG is only public for modules maintained within
yahns, not external users.

While we're at it, avoid the http:// -> https:// redirect for
bugs.ruby-lang.org in the comment.
Diffstat (limited to 'lib/yahns/config.rb')
-rw-r--r--lib/yahns/config.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index faae9c9..e39115c 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -6,7 +6,10 @@
 # See http://yahns.yhbt.net/examples/yahns_multi.conf.rb for a full
 # example configuration file.
 class Yahns::Config # :nodoc:
-  APP_CLASS = {} # public, see yahns/rack for usage example
+  # public within yahns itself, NOT a public interface for users outside
+  # of yahns.  See yahns/rack for usage example
+  APP_CLASS = {}
+
   CfgBlock = Struct.new(:type, :ctx) # :nodoc:
   attr_reader :config_file, :config_listeners, :set
   attr_reader :qeggs, :app_ctx