Class: SayItWithGraphs::Characters::V
- Inherits:
-
Object
- Object
- SayItWithGraphs::Characters::V
show all
- Includes:
- GraphControls
- Defined in:
- lib/say_it_with_graphs/characters/v.rb
Instance Method Summary
collapse
#frame, #initialize, #rnd_line
Instance Method Details
#define ⇒ Object
6
7
8
|
# File 'lib/say_it_with_graphs/characters/v.rb', line 6
def define
'v'
end
|
#draw ⇒ Object
10
11
12
13
14
15
|
# File 'lib/say_it_with_graphs/characters/v.rb', line 10
def draw
a = rnd_line
frame { |f| f.line[a].at 100 }
frame { |f| f.line[a].at 0 }
frame { |f| f.line[a].at 100 }
end
|