Class: Bio::Graphics::Panel::Track::Feature::PixelRange
- Inherits:
-
Object
- Object
- Bio::Graphics::Panel::Track::Feature::PixelRange
- Defined in:
- lib/bio/graphics/feature.rb
Instance Attribute Summary collapse
-
#start_pixel ⇒ Object
Returns the value of attribute start_pixel.
-
#stop_pixel ⇒ Object
Returns the value of attribute stop_pixel.
Instance Method Summary collapse
-
#initialize(start_pixel, stop_pixel) ⇒ PixelRange
constructor
A new instance of PixelRange.
Constructor Details
#initialize(start_pixel, stop_pixel) ⇒ PixelRange
Returns a new instance of PixelRange.
127 128 129 |
# File 'lib/bio/graphics/feature.rb', line 127 def initialize(start_pixel, stop_pixel) @start_pixel, @stop_pixel = start_pixel, stop_pixel end |
Instance Attribute Details
#start_pixel ⇒ Object
Returns the value of attribute start_pixel.
130 131 132 |
# File 'lib/bio/graphics/feature.rb', line 130 def start_pixel @start_pixel end |
#stop_pixel ⇒ Object
Returns the value of attribute stop_pixel.
130 131 132 |
# File 'lib/bio/graphics/feature.rb', line 130 def stop_pixel @stop_pixel end |