lib/mikoshi/plan.rb in mikoshi-0.1.1 vs lib/mikoshi/plan.rb in mikoshi-0.1.2
- old
+ new
@@ -9,10 +9,10 @@
def initialize(yaml_path: nil, client: nil)
raise ArgumentError, 'Yaml file path is required.' if yaml_path.nil?
raise ArgumentError, 'client is required.' if client.nil?
- @data = YAML.safe_load(ERB.new(File.new(yaml_path).read).result).symbolize_keys
+ @data = YAML.safe_load(ERB.new(File.new(yaml_path).read).result).deep_symbolize_keys
@client = client
end
end
end
end