class RubyEdit::SourceFile
Public Instance Methods
delete(**options)
click to toggle source
# File lib/ruby_edit/source_file.rb, line 11 def delete(**options) generator.remove_file(RubyEdit::SOURCE_FILE_LOCATION, **options) end
populate(content, **options)
click to toggle source
# File lib/ruby_edit/source_file.rb, line 7 def populate(content, **options) generator.create_file(RubyEdit::SOURCE_FILE_LOCATION, content, force: true, **options) end