Class: TermTime::DB::Capability

Inherits:
Object
  • Object
show all
Defined in:
lib/termtime/db.rb

Direct Known Subclasses

Boolean, Number, String

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descObject (readonly)

Returns the value of attribute desc.



8
9
10
# File 'lib/termtime/db.rb', line 8

def desc
  @desc
end

#flagsObject (readonly)

Returns the value of attribute flags.



8
9
10
# File 'lib/termtime/db.rb', line 8

def flags
  @flags
end

#iObject (readonly)

Returns the value of attribute i.



8
9
10
# File 'lib/termtime/db.rb', line 8

def i
  @i
end

#key_nameObject (readonly)

Returns the value of attribute key_name.



8
9
10
# File 'lib/termtime/db.rb', line 8

def key_name
  @key_name
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/termtime/db.rb', line 8

def name
  @name
end

#tcnameObject (readonly)

Returns the value of attribute tcname.



8
9
10
# File 'lib/termtime/db.rb', line 8

def tcname
  @tcname
end

#tinameObject (readonly)

Returns the value of attribute tiname.



8
9
10
# File 'lib/termtime/db.rb', line 8

def tiname
  @tiname
end

#titypeObject (readonly)

Returns the value of attribute titype.



8
9
10
# File 'lib/termtime/db.rb', line 8

def titype
  @titype
end

#valueObject (readonly)

Returns the value of attribute value.



8
9
10
# File 'lib/termtime/db.rb', line 8

def value
  @value
end