class NTYChangeLog::Version
Attributes
change_groups[R]
name[R]
Public Class Methods
new(name, change_groups)
click to toggle source
# File lib/nty_change_log/version.rb, line 5 def initialize(name, change_groups) @name = name @change_groups = change_groups end
Public Instance Methods
to_s()
click to toggle source
# File lib/nty_change_log/version.rb, line 10 def to_s (["## #{name}"] + change_groups.map(&:to_s)).join("\n\n") end