Class: Tebako::SingleFileBundle::Inspection
- Inherits:
-
Struct
- Object
- Struct
- Tebako::SingleFileBundle::Inspection
- Defined in:
- lib/tebako/single_file_bundle.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#application_sha256 ⇒ Object
Returns the value of attribute application_sha256.
-
#application_size ⇒ Object
Returns the value of attribute application_size.
-
#byte_size ⇒ Object
Returns the value of attribute byte_size.
-
#container ⇒ Object
Returns the value of attribute container.
-
#format ⇒ Object
Returns the value of attribute format.
-
#major_version ⇒ Object
Returns the value of attribute major_version.
-
#minor_version ⇒ Object
Returns the value of attribute minor_version.
-
#runtime_size ⇒ Object
Returns the value of attribute runtime_size.
Instance Method Summary collapse
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def application @application end |
#application_sha256 ⇒ Object
Returns the value of attribute application_sha256
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def application_sha256 @application_sha256 end |
#application_size ⇒ Object
Returns the value of attribute application_size
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def application_size @application_size end |
#byte_size ⇒ Object
Returns the value of attribute byte_size
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def byte_size @byte_size end |
#container ⇒ Object
Returns the value of attribute container
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def container @container end |
#format ⇒ Object
Returns the value of attribute format
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def format @format end |
#major_version ⇒ Object
Returns the value of attribute major_version
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def major_version @major_version end |
#minor_version ⇒ Object
Returns the value of attribute minor_version
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def minor_version @minor_version end |
#runtime_size ⇒ Object
Returns the value of attribute runtime_size
29 30 31 |
# File 'lib/tebako/single_file_bundle.rb', line 29 def runtime_size @runtime_size end |
Instance Method Details
#to_h ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/tebako/single_file_bundle.rb', line 31 def to_h { "format" => format, "container" => container, "major_version" => major_version, "minor_version" => minor_version, "runtime_size" => runtime_size, "application_size" => application_size, "application_sha256" => application_sha256, "size" => byte_size, "application" => application.to_h } end |