module SayItWithGraphs::GraphControls

Public Class Methods

new() click to toggle source
# File lib/say_it_with_graphs/graph_controls.rb, line 3
def initialize
  @frames = []
end

Public Instance Methods

frame() { |frame| ... } click to toggle source
# File lib/say_it_with_graphs/graph_controls.rb, line 7
def frame
  frame = Frame.new
  yield frame
  @frames << frame
end
rnd_line() click to toggle source
# File lib/say_it_with_graphs/graph_controls.rb, line 13
def rnd_line
  SecureRandom.hex[0..5]
end