lib/acter/action.rb in acter-0.1.2 vs lib/acter/action.rb in acter-0.1.3
- old
+ new
@@ -6,9 +6,10 @@
require "multi_json"
module Acter
class Action
def initialize(args, schema_data)
+ args = args.dup
@subject, @name = args.shift(2)
@params = {}
@headers = {}
args.each_with_index do |arg, idx|