class TrailGuide::Calculators::NoBetaDistributionLibrary
Public Class Methods
new(type=nil)
click to toggle source
Calls superclass method
# File lib/trail_guide/errors.rb, line 15 def initialize(type=nil) if type super("Beta distribution library not found: #{type.to_s}! You must add the '#{type.to_s}' gem to your Gemfile in order to run this analysis with it.") else super("No beta distribution library found! You must add either the 'distribution' or 'rubystats' gems to your Gemfile in order to run this analysis.") end end