-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destroy or delete method #8
Comments
I'd be happy to take this on and file a PR in the near future. (I've come here from amberframework/amber#188 as above). I've reviewed some of the source and I've skimmed over the original issue for appending to files (#2). Is it logical to assume that using a Happy to hear some feedback on this before filing a PR @mosop |
@aaronstillwell - Thanks for offering to take this one. As far as having a What I was looking for is something that takes the exact same logic to decide what files are It could be the same structure as this method: def render
begin
@entries.each do |entry|
if @per_entry
entry.render
else
entry.confirm
end
end
@entries.each(&.render) unless @per_entry
rescue ex : Quit
@quitted = true
end
end Just, instead of If the minus ( |
Woops, gotcha @marksiemers, you're absolutely right the |
@aaronstillwell - Do you think you'll have time to work through this in the next week or so? The amber team is updating some milestones and we're looking where to bucket a change that depends on this functionality. If you're PR doesn't get approved here, we may do a fork into the amberframework org, and we could incorporate it there. |
@marksiemers yes I plan to have it done this weekend. I'll happily move the resulting PR to the fork if it comes to that. |
@aaronstillwell - I screwed up the forking on this, but it should still be fine: https://github.com/amberframework/teeplate You can open a PR there. |
Hi. This feature is interesting. I was thinking if each file entry had an action type, such as create, append... etc., the software design would be more sophisticated. Unfortunately, I hardly have enough time, but I want to try that. |
Would it be possible to provide a
destroy
ordelete
method that is the opposite ofrender
in that it will remove any files that would have been created byrender
?The text was updated successfully, but these errors were encountered: