# File lib/hiera/backend/eyaml/subcommands/decrypt.rb, line 56 def self.execute parser = Parser::ParserFactory.encrypted_parser tokens = parser.parse(Eyaml::Options[:input_data]) case Eyaml::Options[:source] when :eyaml decrypted = tokens.map{ |token| token.to_decrypted } decrypted.join else decrypted = tokens.map{ |token| case token.class.name when /::EncToken$/ token.plain_text else token.match end } decrypted.join end end