class MSS::Core::OptionGrammar::FormatError
@api private
Attributes
context_description[RW]
expectation[RW]
Public Class Methods
new(expectation, context)
click to toggle source
# File lib/mss/core/option_grammar.rb, line 30 def initialize(expectation, context) @expectation = expectation @context_description = context end
Public Instance Methods
to_s()
click to toggle source
# File lib/mss/core/option_grammar.rb, line 35 def to_s "expected #{expectation} for #{context_description}" end