* [sup-devel] [PATCH] implement const_missing for Index
@ 2010-01-04 19:35 Rich Lane
2010-01-04 19:43 ` William Morgan
2010-01-05 21:50 ` William Morgan
0 siblings, 2 replies; 4+ messages in thread
From: Rich Lane @ 2010-01-04 19:35 UTC (permalink / raw)
To: sup-devel
Otherwise, constant references to LockError and ParseError will fail.
---
This should be added to the ruby-1.9-encoding branch.
lib/sup/index.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/sup/index.rb b/lib/sup/index.rb
index f02c96b..8a4b8f2 100644
--- a/lib/sup/index.rb
+++ b/lib/sup/index.rb
@@ -234,6 +234,7 @@ class Index
def self.instance; @obj end
def self.method_missing m, *a, &b; @obj.send(m, *a, &b) end
+ def self.const_missing x; @obj.class.const_get(x) end
end
end
--
1.6.3.3
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-devel] [PATCH] implement const_missing for Index
2010-01-04 19:35 [sup-devel] [PATCH] implement const_missing for Index Rich Lane
@ 2010-01-04 19:43 ` William Morgan
2010-01-04 19:48 ` Rich Lane
2010-01-05 21:50 ` William Morgan
1 sibling, 1 reply; 4+ messages in thread
From: William Morgan @ 2010-01-04 19:43 UTC (permalink / raw)
To: sup-devel
Reformatted excerpts from Rich Lane's message of 2010-01-04:
> This should be added to the ruby-1.9-encoding branch.
Not to ferret-deprecation?
--
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-devel] [PATCH] implement const_missing for Index
2010-01-04 19:43 ` William Morgan
@ 2010-01-04 19:48 ` Rich Lane
0 siblings, 0 replies; 4+ messages in thread
From: Rich Lane @ 2010-01-04 19:48 UTC (permalink / raw)
To: William Morgan; +Cc: sup-devel
Excerpts from William Morgan's message of 2010-01-04 14:43:58 -0500:
> Reformatted excerpts from Rich Lane's message of 2010-01-04:
> > This should be added to the ruby-1.9-encoding branch.
>
> Not to ferret-deprecation?
Oh, right, sorry. Airports are messing with my brain.
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sup-devel] [PATCH] implement const_missing for Index
2010-01-04 19:35 [sup-devel] [PATCH] implement const_missing for Index Rich Lane
2010-01-04 19:43 ` William Morgan
@ 2010-01-05 21:50 ` William Morgan
1 sibling, 0 replies; 4+ messages in thread
From: William Morgan @ 2010-01-05 21:50 UTC (permalink / raw)
To: sup-devel
Reformatted excerpts from Rich Lane's message of 2010-01-04:
> Otherwise, constant references to LockError and ParseError will fail.
Applied to ferret-deprecation and remerged into next. Thanks!
--
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-05 21:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-04 19:35 [sup-devel] [PATCH] implement const_missing for Index Rich Lane
2010-01-04 19:43 ` William Morgan
2010-01-04 19:48 ` Rich Lane
2010-01-05 21:50 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox