Class: CFRange
- Inherits:
-
Object
- Object
- CFRange
- Defined in:
- lib/accessibility/core.rb,
lib/accessibility/core.rb
Overview
AXElements extensions for CFRange
.
Class Method Summary collapse
-
.ax_value ⇒ Number
Returns the number that AXAPI uses in order to know how to wrap a struct.
Instance Method Summary collapse
Class Method Details
.ax_value ⇒ Number
Returns the number that AXAPI uses in order to know how to wrap a struct.
890 |
# File 'lib/accessibility/core.rb', line 890 def ax_value; KAXValueCFRangeType end |
Instance Method Details
#to_ruby ⇒ Range
936 937 938 |
# File 'lib/accessibility/core.rb', line 936 def to_ruby Range.new location, (location + length - 1) end |