Class: Mumukit::Inspection::Expectation::V2

Inherits:
Mumukit::Inspection::Expectation show all
Defined in:
lib/mumukit/inspection/expectation.rb

Constant Summary

Constants inherited from Mumukit::Inspection::Expectation

SMELLS

Instance Attribute Summary

Attributes inherited from Mumukit::Inspection::Expectation

#binding, #inspection

Instance Method Summary collapse

Methods inherited from Mumukit::Inspection::Expectation

#check!, guess_type, has_smell?, #initialize, parse, #to_h, #translate

Constructor Details

This class inherits a constructor from Mumukit::Inspection::Expectation

Instance Method Details

#as_v2Object


100
101
102
# File 'lib/mumukit/inspection/expectation.rb', line 100

def as_v2
  self
end

#binding?Boolean

Returns:

  • (Boolean)

92
93
94
# File 'lib/mumukit/inspection/expectation.rb', line 92

def binding?
  true
end

#inspection?Boolean

Returns:

  • (Boolean)

96
97
98
# File 'lib/mumukit/inspection/expectation.rb', line 96

def inspection?
  true
end