Displaying 3 results from an estimated 3 matches for "instance_writ".
Did you mean:
instance_init
2011 May 28
0
class_inheritable_accessor => class_attribute
I had code
class_inheritable_accessor :attrs, :instance_reader =>
false, :instance_writer => false
self.attrs = {}
now i want to get rid of class_inheritable_accessor, but
class_attribute only supports instance_writer, not instance_reader
options and i really don''t want instance reader. Is there any way to
do it?
--
You received this message because you are subscribed t...
2012 Sep 28
0
Overriding class_attribute writers and order of super/extend C.M./included block eval in ActiveSupport::Concern
I have:
module MySpike
extend ActiveSupport::Concern
included do
class_attribute :foobar, instance_writer: true
end
end
But, I want to be able to override the class attribute writer and/or
instance writer method to do something when the attribute is set via
self.foobar = true before or after calling super to set the attribute.
Unfortunately, I can''t find a clean way of doing this, and...
2008 Mar 08
2
[patch] add nv50 voodoo
Hi, this is from mmio-traces. After startx I see mouse cursor which
moves, background split into black and garbage areas. First area
consists of repeated pattern of something. Surrealistic picture, and
after several seconds box locks up hard, monitor turns off.
However much improvement against non-starting X. :-)
Card is 10de:0191 (GeForce 8800 GTX)
diff --git a/shared-core/nv50_graph.c