Class: Fiona7::WidgetGc::Marker
- Inherits:
-
Object
- Object
- Fiona7::WidgetGc::Marker
- Defined in:
- lib/fiona7/widget_gc/marker.rb
Instance Attribute Summary collapse
-
#available ⇒ Object
readonly
Returns the value of attribute available.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#referenced ⇒ Object
readonly
Returns the value of attribute referenced.
-
#widgets ⇒ Object
readonly
Returns the value of attribute widgets.
Instance Method Summary collapse
- #garbage ⇒ Object
- #garbage? ⇒ Boolean
-
#initialize(object, widget_resolver) ⇒ Marker
constructor
A new instance of Marker.
Constructor Details
#initialize(object, widget_resolver) ⇒ Marker
Returns a new instance of Marker.
7 8 9 10 11 12 |
# File 'lib/fiona7/widget_gc/marker.rb', line 7 def initialize(object, ) self.object = object self. = .all self.mark end |
Instance Attribute Details
#available ⇒ Object
Returns the value of attribute available.
22 23 24 |
# File 'lib/fiona7/widget_gc/marker.rb', line 22 def available @available end |
#object ⇒ Object
Returns the value of attribute object.
22 23 24 |
# File 'lib/fiona7/widget_gc/marker.rb', line 22 def object @object end |
#referenced ⇒ Object
Returns the value of attribute referenced.
22 23 24 |
# File 'lib/fiona7/widget_gc/marker.rb', line 22 def referenced @referenced end |
#widgets ⇒ Object
Returns the value of attribute widgets.
22 23 24 |
# File 'lib/fiona7/widget_gc/marker.rb', line 22 def end |
Instance Method Details
#garbage ⇒ Object
14 15 16 |
# File 'lib/fiona7/widget_gc/marker.rb', line 14 def garbage self.available - self.referenced end |
#garbage? ⇒ Boolean
18 19 20 |
# File 'lib/fiona7/widget_gc/marker.rb', line 18 def garbage? self.garbage.any? end |