lib/grumlin/step_data.rb in grumlin-0.23.0 vs lib/grumlin/step_data.rb in grumlin-1.0.0.rc1
- old
+ new
@@ -1,20 +1,18 @@
# frozen_string_literal: true
-module Grumlin
- class StepData
- attr_reader :name, :args, :params
+class Grumlin::StepData
+ attr_reader :name, :args, :params
- def initialize(name, args: [], params: {})
- @name = name
- @args = args
- @params = params
- end
+ def initialize(name, args: [], params: {})
+ @name = name
+ @args = args
+ @params = params
+ end
- def ==(other)
- self.class == other.class &&
- @name == other.name &&
- @args == other.args &&
- @params == other.params
- end
+ def ==(other)
+ self.class == other.class &&
+ @name == other.name &&
+ @args == other.args &&
+ @params == other.params
end
end