Class: CodeRay::Encoders::Statistic::TypeStats

Inherits:
Struct show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



13
14
15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb', line 13

def count
  @count
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



13
14
15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/coderay-1.1.3/lib/coderay/encoders/statistic.rb', line 13

def size
  @size
end