Method: Ruvi::Selection#initialize

Defined in:
lib/selections.rb

#initialize(s = Point.new, e = Point.new, mode = nil) ⇒ Selection

Returns a new instance of Selection.



16
17
18
19
# File 'lib/selections.rb', line 16

def initialize s = Point.new, e = Point.new, mode = nil
    @mode = mode
    @s, @e = s, e
end