Class: TermTime::TermInfo::String
- Inherits:
-
Object
- Object
- TermTime::TermInfo::String
- Defined in:
- lib/termtime/terminfo.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
readonly
Returns the value of attribute db.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(v, db) ⇒ String
constructor
A new instance of String.
- #tiname ⇒ Object
- #tparm ⇒ Object
Constructor Details
#initialize(v, db) ⇒ String
Returns a new instance of String.
22 23 24 25 26 |
# File 'lib/termtime/terminfo.rb', line 22 def initialize v, db @value = v @db = db freeze end |
Instance Attribute Details
#db ⇒ Object (readonly)
Returns the value of attribute db.
20 21 22 |
# File 'lib/termtime/terminfo.rb', line 20 def db @db end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
20 21 22 |
# File 'lib/termtime/terminfo.rb', line 20 def value @value end |