class Schmersion::Formatter
Attributes
filename[R]
Public Class Methods
new(filename, options = {})
click to toggle source
# File lib/schmersion/formatter.rb, line 8 def initialize(filename, options = {}) @filename = filename @options = options end
Public Instance Methods
generate(repo, version)
click to toggle source
Generate the output which should be included in the export. This should return a string which will also be displayed when doing dry-runs of a release. rubocop:disable Lint/UnusedMethodArgument
# File lib/schmersion/formatter.rb, line 17 def generate(repo, version) '' end
insert(part)
click to toggle source
Insert a given part into the given source file path
@param part [String] @return [void]
# File lib/schmersion/formatter.rb, line 26 def insert(part) end