Forked from kapilpipaliya/gist:82e3cf8d3200898c413804b4ca45ccda
Last active
April 15, 2018 11:50
-
-
Save sam113101/fffbb9671da64d549204bd9627bf32dd to your computer and use it in GitHub Desktop.
sample.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% temp = create_tables_add_general(object){|rel_table, main_table, schema, prefix| | |
if(main_table = "Data") | |
import_create = true | |
""" import Sce.Data""" | |
else | |
"" | |
end | |
} %> | |
defmodule Sce.<%= @CS %>Resolver do | |
# if import_create is true i want to print some line here. | |
<% if import_create %> | |
text here | |
<% end %> | |
<%= temp.join("\n") %> | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment