Class: RubyLens::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/rubylens/generator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#countsObject (readonly)

Returns the value of attribute counts

Returns:

  • (Object)

    the current value of counts



7
8
9
# File 'lib/rubylens/generator.rb', line 7

def counts
  @counts
end

#output_pathObject (readonly)

Returns the value of attribute output_path

Returns:

  • (Object)

    the current value of output_path



7
8
9
# File 'lib/rubylens/generator.rb', line 7

def output_path
  @output_path
end

#warningsObject (readonly)

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



7
8
9
# File 'lib/rubylens/generator.rb', line 7

def warnings
  @warnings
end

Instance Method Details

#to_payloadObject



8
# File 'lib/rubylens/generator.rb', line 8

def to_payload = { output: output_path, counts: counts, warnings: warnings }