class AWS::Core::OptionGrammar::FormatError

@private

Attributes

context_description[RW]
expectation[RW]

Public Class Methods

new(expectation, context) click to toggle source
# File lib/aws/core/option_grammar.rb, line 31
def initialize(expectation, context)
  @expectation = expectation
  @context_description = context
end

Public Instance Methods

to_s() click to toggle source
# File lib/aws/core/option_grammar.rb, line 36
def to_s
  "expected #{expectation} for #{context_description}"
end