Class: Rzo::App::ConfigValidation::Issue

Inherits:
Object
  • Object
show all
Defined in:
lib/rzo/app/config_validation.rb

Overview

Class to model an issue found during validation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ Issue

Returns a new instance of Issue.



128
129
130
# File 'lib/rzo/app/config_validation.rb', line 128

def initialize(msg)
  self.message = msg
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



126
127
128
# File 'lib/rzo/app/config_validation.rb', line 126

def message
  @message
end

Instance Method Details

#to_sObject



132
133
134
# File 'lib/rzo/app/config_validation.rb', line 132

def to_s
  message
end