class CFoundry::Mismatch

Public Class Methods

new(expected, got) click to toggle source
# File lib/cfoundry/errors.rb, line 14
def initialize(expected, got)
  @expected = expected
  @got = got
end

Public Instance Methods

to_s() click to toggle source
# File lib/cfoundry/errors.rb, line 19
def to_s
  "Invalid value type; expected #{@expected.inspect}, got #{@got.inspect}"
end