Module: Release::Notes
- Defined in:
- lib/release/notes.rb,
lib/release/notes/cmd.rb,
lib/release/notes/git.rb,
lib/release/notes/log.rb,
lib/release/notes/tag.rb,
lib/release/notes/link.rb,
lib/release/notes/write.rb,
lib/release/notes/errors.rb,
lib/release/notes/system.rb,
lib/release/notes/commits.rb,
lib/release/notes/railtie.rb,
lib/release/notes/version.rb,
lib/release/notes/prettify.rb,
lib/release/notes/configurable.rb,
lib/release/notes/configuration.rb,
lib/release/notes/date_formatter.rb,
lib/generators/release/notes/install/install_generator.rb
Defined Under Namespace
Modules: Configurable, Generators, Link Classes: Cmd, Commits, Configuration, DateFormatter, Git, Log, MissingTag, NotBoolean, Prettify, Railtie, System, Tag, Write
Constant Summary collapse
- NEWLINE =
"\n"- VERSION =
"4.2.0"
Class Method Summary collapse
-
.configuration ⇒ Release::Notes::Configuration
Release::Notes's current configuration.
-
.configuration=(config) ⇒ Object
Set Release::Notes's configuration.
-
.configure {|config| ... } ⇒ Object
Modify Release::Notes's current configuration
Release::Notes.configure do |config| config.routes = false end. - .root ⇒ Object
Class Method Details
.configuration ⇒ Release::Notes::Configuration
Returns Release::Notes's current configuration.
242 243 244 |
# File 'lib/release/notes/configuration.rb', line 242 def self.configuration @configuration ||= Configuration.new end |
.configuration=(config) ⇒ Object
Set Release::Notes's configuration
248 249 250 |
# File 'lib/release/notes/configuration.rb', line 248 def self.configuration=(config) @configuration = config end |
.configure {|config| ... } ⇒ Object
Modify Release::Notes's current configuration
Release::Notes.configure do |config|
config.routes = false
end
259 260 261 |
# File 'lib/release/notes/configuration.rb', line 259 def self.configure yield configuration end |
.root ⇒ Object
33 34 35 |
# File 'lib/release/notes.rb', line 33 def root File.("..", __dir__) end |