class CarthageCacheRes::ValidationResult
Attributes
error[R]
Public Class Methods
invalid(error)
click to toggle source
# File lib/carthage_cache_res/configuration_validator.rb, line 44 def self.invalid(error) self.new(error) end
new(error)
click to toggle source
# File lib/carthage_cache_res/configuration_validator.rb, line 50 def initialize(error) @error = error end
valid()
click to toggle source
# File lib/carthage_cache_res/configuration_validator.rb, line 40 def self.valid self.new(nil) end
Public Instance Methods
valid?()
click to toggle source
# File lib/carthage_cache_res/configuration_validator.rb, line 54 def valid? @error == nil end