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.
431 432 433 |
# File 'lib/bio/graphics/feature.rb', line 431 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.
434 435 436 |
# File 'lib/bio/graphics/feature.rb', line 434 def start_pixel @start_pixel end |
#stop_pixel ⇒ Object
Returns the value of attribute stop_pixel.
434 435 436 |
# File 'lib/bio/graphics/feature.rb', line 434 def stop_pixel @stop_pixel end |