Module: GitHubChangelogGenerator::Helper

Defined in:
lib/github_changelog_generator/helper.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.logObject (readonly)

Returns the value of attribute log.



34
35
36
# File 'lib/github_changelog_generator/helper.rb', line 34

def log
  @log
end

Class Method Details

.test?Boolean

Returns true if the currently running program is a unit test.

Returns:

  • (Boolean)

    true if the currently running program is a unit test



9
10
11
# File 'lib/github_changelog_generator/helper.rb', line 9

def self.test?
  defined? SpecHelper
end