Class: TermTime::DB::Capability
- Inherits:
-
Object
- Object
- TermTime::DB::Capability
- Defined in:
- lib/termtime/db.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
readonly
Returns the value of attribute desc.
-
#flags ⇒ Object
readonly
Returns the value of attribute flags.
-
#i ⇒ Object
readonly
Returns the value of attribute i.
-
#key_name ⇒ Object
readonly
Returns the value of attribute key_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#tcname ⇒ Object
readonly
Returns the value of attribute tcname.
-
#tiname ⇒ Object
readonly
Returns the value of attribute tiname.
-
#titype ⇒ Object
readonly
Returns the value of attribute titype.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, tiname, titype, tcname, key_name, value, flags, desc, i) ⇒ Capability
constructor
A new instance of Capability.
Constructor Details
#initialize(name, tiname, titype, tcname, key_name, value, flags, desc, i) ⇒ Capability
Returns a new instance of Capability.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/termtime/db.rb', line 10 def initialize(name, tiname, titype, tcname, key_name, value, flags, desc, i) @name = name @tiname = tiname @titype = titype @tcname = tcname @key_name = key_name @value = value @flags = flags @desc = desc @i = i end |
Instance Attribute Details
#desc ⇒ Object (readonly)
Returns the value of attribute desc.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def desc @desc end |
#flags ⇒ Object (readonly)
Returns the value of attribute flags.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def flags @flags end |
#i ⇒ Object (readonly)
Returns the value of attribute i.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def i @i end |
#key_name ⇒ Object (readonly)
Returns the value of attribute key_name.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def key_name @key_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def name @name end |
#tcname ⇒ Object (readonly)
Returns the value of attribute tcname.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def tcname @tcname end |
#tiname ⇒ Object (readonly)
Returns the value of attribute tiname.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def tiname @tiname end |
#titype ⇒ Object (readonly)
Returns the value of attribute titype.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def titype @titype end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/termtime/db.rb', line 8 def value @value end |