Sha256: 3c8987e4a0ba16a51f9b8fe96942bf3be57a3d5fc0b5da0cbac11a6388829b7c
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
module Seam class Step attr_accessor :name attr_accessor :type attr_accessor :arguments def initialize(args = {}) args.each { |k, v| self.send "#{k}=".to_sym, v } end def to_hash { name: name, type: type, arguments: HashWithIndifferentAccess.new(arguments || {}) } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
seam-0.0.11 | lib/seam/step.rb |
seam-0.0.10 | lib/seam/step.rb |
seam-0.0.9 | lib/seam/step.rb |