Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.357 kb
module Analytical
class CommandStore
attr_accessor :commands
def initialize(initial_list=nil)
@commands = initial_list || []
end
def flush
@commands = []
end
# Pass any array methods on to the internal array
def method_missing(method, *args, &block)
@commands.send(method, *args, &block)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.