Class: Changelog::Creator

Inherits:
Object
  • Object
show all
Defined in:
lib/changelog/creator.rb

Overview

Class responsible for creating the file.

Class Method Summary collapse

Class Method Details

.call(options) ⇒ Object



5
6
7
8
9
# File 'lib/changelog/creator.rb', line 5

def self.call(options)
  changelog = Changelog.new(options, :options)
  changelog.validate!
  changelog.save
end