Module: SurveyMonkey::Style

Defined in:
lib/surveymonkey/style.rb,
lib/surveymonkey/style/version.rb

Overview

SurveyMonkey common code and linting settings and configurations

Defined Under Namespace

Modules: Version Classes: Error

Class Method Summary collapse

Class Method Details

.yardstickString

Path to yarstick.yml configuration

Examples:

require 'yardstick/rake/verify'
require 'surveymonkey/style'
yardstick_options = YAML.load_file(SurveyMonkey::Style.yardstick)
Yardstick::Rake::Verify.new(:yardstick, yardstick_options)


21
22
23
# File 'lib/surveymonkey/style.rb', line 21

def self.yardstick
  File.expand_path('../../yardstick/.yardstick.yml', __dir__)
end