Skip to content

Instantly share code, notes, and snippets.

@kapilpipaliya
Last active April 15, 2018 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kapilpipaliya/82e3cf8d3200898c413804b4ca45ccda to your computer and use it in GitHub Desktop.
Save kapilpipaliya/82e3cf8d3200898c413804b4ca45ccda to your computer and use it in GitHub Desktop.
sample.rb
defmodule Sce.<%= @CS %>Resolver do
# if import_create is true i want to print some line here.
<%= create_tables_add_general(object){|rel_table, main_table, schema, prefix|
if(main_table = "Data")
import_create = true
""" import Sce.Data"""
else
""
end
}.join("\n") %>
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment