Class: Hecks::QuerySpecification::Common::InspectionSpec

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/query_specification/common/inspection_spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



4
5
6
# File 'lib/hecks/query_specification/common/inspection_spec.rb', line 4

def mode
  @mode
end

Instance Method Details

#to_hObject



5
# File 'lib/hecks/query_specification/common/inspection_spec.rb', line 5

def to_h = { mode: mode.to_s }