Class: Crep::Version
- Inherits:
-
Object
- Object
- Crep::Version
- Defined in:
- lib/crep/model/crash_model/version.rb
Instance Attribute Summary collapse
-
#app_identifier ⇒ Object
readonly
Returns the value of attribute app_identifier.
-
#build ⇒ Object
readonly
Returns the value of attribute build.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version, build, app_identifier) ⇒ Version
constructor
A new instance of Version.
Constructor Details
#initialize(version, build, app_identifier) ⇒ Version
Returns a new instance of Version.
7 8 9 10 11 |
# File 'lib/crep/model/crash_model/version.rb', line 7 def initialize(version, build, app_identifier) @version = version @build = build @app_identifier = app_identifier end |
Instance Attribute Details
#app_identifier ⇒ Object (readonly)
Returns the value of attribute app_identifier.
5 6 7 |
# File 'lib/crep/model/crash_model/version.rb', line 5 def app_identifier @app_identifier end |
#build ⇒ Object (readonly)
Returns the value of attribute build.
5 6 7 |
# File 'lib/crep/model/crash_model/version.rb', line 5 def build @build end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
5 6 7 |
# File 'lib/crep/model/crash_model/version.rb', line 5 def version @version end |