Module: GraphQL::Client::ErubisEnhancer
Relationships & Source Files | |
Defined in: | lib/graphql/client/erubis_enhancer.rb |
Overview
Instance Method Summary
-
#convert_input(src, input)
Internal: Extend Erubis handler to simply ignore <%graphql sections.
Instance Method Details
#convert_input(src, input)
Internal: Extend Erubis handler to simply ignore <%graphql sections.
# File 'lib/graphql/client/erubis_enhancer.rb', line 16
def convert_input(src, input) input = input.gsub(/<%graphql/, "<%#") super(src, input) end