Class: Geoptima::AppCategory
- Inherits:
-
Object
- Object
- Geoptima::AppCategory
- Defined in:
- lib/geoptima/data.rb
Instance Attribute Summary collapse
-
#app_class ⇒ Object
readonly
Returns the value of attribute app_class.
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(key, category, app_class, name) ⇒ AppCategory
constructor
A new instance of AppCategory.
Constructor Details
#initialize(key, category, app_class, name) ⇒ AppCategory
Returns a new instance of AppCategory.
583 584 585 |
# File 'lib/geoptima/data.rb', line 583 def initialize(key, category, app_class, name) @key, @category, @app_class, @name = key, category, app_class, name end |
Instance Attribute Details
#app_class ⇒ Object (readonly)
Returns the value of attribute app_class.
582 583 584 |
# File 'lib/geoptima/data.rb', line 582 def app_class @app_class end |
#category ⇒ Object (readonly)
Returns the value of attribute category.
582 583 584 |
# File 'lib/geoptima/data.rb', line 582 def category @category end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
582 583 584 |
# File 'lib/geoptima/data.rb', line 582 def key @key end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
582 583 584 |
# File 'lib/geoptima/data.rb', line 582 def name @name end |